Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
['d2 dd d2 cB ABGA F2 A2', 'edcB caaa Bggg'  
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
 d2 dd d2 cB | ABGA F2 A2 | E2 A2 D2 A2 | Bcde dcBA | d2 a2 fgaf | efge fgaf | gabg fdfa | 
 gfed dcBA | BGBd gBgB | AFAd fAfA | GEGB efed | cdBc A2 AG | FGAF EFGE | FGAF GABG | A2 d2 fedc | 
 d2 dc d4 :: d2 b2 agfe | d2 a2 c2 a2 | B2 gB ABcd | ecBA d3 f | edcB caaa | Bggg Afff | 
 edcB caaa | Bggg bgbg | afaf edcB | cABG AFGE | DAFA DAFA | GEBE GEBE | FAdc BAGF | EFGA BcdB | 
 A2 d2 fedc | d2 dc d4 :|  