Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/4
Q:3/4=90
M:6/4
K:Dmix
['a2 a a2 g f2 e d3/2', '', 'd e2'  
X:1
L:1/4
Q:3/4=90
M:6/4
K:Dmix
 a2 a a2 g | f2 e d3/2 e/ f | e2 A B2 ^c | d3"^1" d3- ||"^2 NB" d3 d3 || d | ^c2 B c2 d | 
 e3/2 f/ e A2 f | e2 d e2 f | g3- g2 a | f3/2 e/ d e2 A | f3/2 e/ f g2 f | e3/2 d/ ^c B2 A | 
 A3- A2 |]  