Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
M:2/2
K:D
['f2 d2'  
X:1
L:1/8
M:2/2
K:D
 ag |"D" f2 d2 f2 d2 | fefg a2 gf |"A" e2 c2 e2 c2 | ecef g2 ag |"D" f2 d2 f2 d2 | fefg a2 gf | 
"G" efed"A" cAag |"D" f2 d2 d2 :: z2 |"G" B3 =c B2 A2 |"D" G2 F2 E4 |"E" e3 f e2 d2 | 
"A" c2 c2 B2 A2 |"G" B3 =c B2 A2 |"D" G2 F2 E2 cd |"G" efed"A" cAag |"D" f2 d2 d2 :|  