Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/16
M:2/4
K:D
['D2>F2 (AF)(Fd) (AF).F2 (AF)(Fd) D2>F2 AFFA BdAF', '(ec)(ce) (dB)(Bd) (AF)(FA) f<dd>f e>cc>A |{c} BABc'  
X:1
L:1/16
M:2/4
K:D
 D2>F2 (AF)(Fd) | (AF).F2 (AF)(Fd) | D2>F2 AFFA | BdAF (3.E.E.E.E2 :|{c} d2>f2 (ec)(ce) | 
 (dB)(Bd) (AF)(FA) | f<dd>f e>cc>A |{c} BABc d2(de) | fd(3ddd ec (3ccc | dB (3BBB (AF).F.A | 
 d<fc<e B>dF<A | BdAF (3EEEE2 ||  