Craft a composition using the supplied motif as its basis and follow the prescribed musical arrangement.
X:1
L:1/8
M:4/4
K:D
['dfed B2 dB A2 (FA) DAFA (AB)de', 'd2 dc (Bc)de fBBc def^g a2 gf'  
X:1
L:1/8
M:4/4
K:D
|: (3(ABc) | dfed B2 dB | A2 (FA) DAFA | (AB)de fa^ga | =g2 fd eAce | dfed B2 dB | A2 (FA) DAFA | 
 (AB)de fafd | eAce d2 :: dc | (Bc)de fBBc | def^g a2 gf | eAce a2 ^ga | =g2 fd eAce | dfed B2 dB | 
 A2 (FA) DAFA | (AB)de fafd | eAce d2 :|  