Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:6/8
K:D
['FED AGA BcB A2 A dcd B<ed', 'A2 FED AGA Bcd A2 A dcd', 'd2 cde efe ecA ABc ded dcB'  
X:1
L:1/8
M:6/8
K:D
 G"A" | FED AGA | BcB A2 A | dcd B<ed | d3 A2 || G"^Z" | FED AGA | Bcd A2 A | dcd B<ed | cBc d2 || 
 d"B" | cde efe | ecA ABc | ded dcB | BGG G3 | FGA D3 | GAB E3 | FGA Bed | cBc d2 |]  