Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
Q:1/8=140
M:3/4
K:A
['a2 e2', 'FE FD D2'  
X:1
L:1/8
Q:1/8=140
M:3/4
K:A
"A" ea"E" gb"A" a2 |"E" (3geg"D" (3fdf"A" e2 |"A" ea"E" gb"A" a2 |"E" (3geg"D" (3fdf"A" e2 :: 
"E" cB Be"A" cA | (3cAc"E" (3BGB"A" A2 |"E" cB Be"A" cA | (3cAc"E" (3BGB A2 :: 
[K:D]"A" FE EA"D" FD | (3FDF"A" (3ECE"D" D2 |"A" FE EA"D" FD | (3FDF"A" (3ECE"D" D2 :| 
"A" F2"D" D4 |]  