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:4/4
K:A
['A>e e2 e>Ac<A', '=G>AB<G A>aa>e c>ac<A B>=gg>e d>gB<=G A>aa>e c>ea<e'  
X:1
L:1/8
M:4/4
K:A
 E |:"A" A>e e2 e>Ac<A |"Em" B>e e2"G" d>=GB<G |"A" A>e e2 e>Ac<A |"Em" E/E/E E2"G" =G>AB<G :: 
"A" A>aa>e c>ac<A |"G" B>=gg>e d>gB<=G |"A" A>aa>e c>ea<e |"G" =g<b"C" e<g"G" d<g B<=G :|  