Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=100
M:4/4
K:A
['EE A>G AB cB cd e2 c2']  
X:1
L:1/8
Q:1/4=100
M:4/4
K:A
 EE |"A" A>G AB cB cd | e2 c2 A2 c>d | e6 d>c |"E" B4 z2 EE |"A" A>G AB cB cd | e2 c2 A2 A>B | 
"A/E" c6"E7" B>c |"A" A4 z2 GA |"E" B>B BB cB BB |"E/B" B2"B7" A2"E" G2 GA | B>B BB cB GE | 
"E/B" G2"B7" F2"E" E2 EE |"A" A>G AB cB cd | e2 c2 A2 c>d |"A/E" e6"E7" B>c |"A" A4 z2 |]  