dnd 3.5e – How to add a magical composite bow to a treasure haul?

You put the enhancement bonus in front and the strength rating in brackets behind. So it‘s a

+1 composite shortbow (+2 strength bonus)

You find this way of writing in the NPC statistcs section of the DMG (for example in the stats of the sample 10th-level NPC barbarian on page 112/113).