Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
Q:1/2=120
M:2/2
K:D
['de f2 fd', 'f2 gfed defg']  
X:1
L:1/8
Q:1/2=120
M:2/2
K:D
 de |:"D" f2 fd f2 fd | f2 fd"A7" cAeA |"D" f2 fd"G" gfed |"A7" cABc"D" defg ::"D" a2 af"G" b2 ba | 
"Em" g2 ge"A7" a2 ag |"D" f2 fd"G" gfed |1"A7" cABc"D" defg :|2"A7" cABc"D" d4 |]  