Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:6/8
K:D
['e e2'  
X:1
L:1/8
M:6/8
K:D
 a |"D" fed AFA |"G" BGB"D" A2 a |"D" fed A2 d |"A7" c2 e e2 a |"D" fed AFA |"G" BGB"D" A2 A | 
"G" Bdd"A7" cAe |1"D" d3- d2 :|2"D" d3- dcd |:[K:A]"A" eee e2 e |"D" fga"A" e2 e |"A" c2 A cde | 
"E7" BcB Bed |"A" c2 e e2 e |"D" fga"A" e2 e |"A" cec"E7" dBG |1"A" ABA Aed :|2"A" ABA a2 |]  