Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:3/4
K:D
['A FED d2', 'D3 fg a3 dfa bgb efg agf'  
X:1
L:1/8
M:3/4
K:D
 A | FED d2 D | FAF GBA | BEF G2 A | FED d2 e | fed edc | ABd ABc | dcd Bec | dDD D3 :| fg | 
 a3 dfa | bgb efg | agf efd | cec A2 d | faf geg | faf g2 a | fed cBc | dDD D3 :|  