Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:4/4
K:Dmix
['d2 AB =cdeg dcAG FDFA dedB =cAGE', 'a2 ag']  
X:1
L:1/8
M:4/4
K:Dmix
 Add^c d2 AB | =cdeg dcAG | FDFA dedB | =cAGE FDFA | d2 d^c d2 AB | =cdeg dcAG | FDFA dedB | 
 =cAGE FD D2 |: faaf a2 ag | fadf efge | afdf e3 g | fefd e=cAc | dfaf a2 ag | fgaf geag | 
 fdAF G2 FG |1 ABde d2 de :|2 ABde d3 c ||  