Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
M:4/4
K:D
['A2 dA BA F2'  
X:1
L:1/8
M:4/4
K:D
 E2 |"D" A,B,DE F4 | E2 D2 B2 A2 |"D" A,B,DE F4 |"Em" E2 D2"A7" B,2 A,2 |"D" A,B,DE F4 | 
"D" E2 D2"A7" B2 A2 |"D" A2 dB"G" A2 dB |"A7" AF E2"D" D4 ::"D" A2 dA BA F2 | A2 f2 e2 d2 | 
"D" A2 dA BA F2 |"D" BA F2"A7" e4 |"D" A2 dA BA F2 |"D" Adfd"G" edBd |"D" A2 dA"G" BAdB | 
"A7" AF E2"D" D4 :|  