Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:none
K:D
['d2 A2 F2 D2 f4 e2 c2', 'A6 a2 fe^dc B2 a4 g2 edcB']  
X:1
L:1/8
M:none
K:D
 d2 A2 F2 | D2 f4 | e2 c2 A2 | C2 g4 | f2 agaf | e2 de c2 | BdcBA^G | A6 :: a2 fe^dc | B2 a4 | 
 g2 edcB | A2 g4 | fagfed | c2 BA d2 | egfedc | d6 :|  