Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:Amix
['c2 B=g g>d B<=G'  
X:1
L:1/8
M:4/4
K:Amix
|:"A" Ae e>d c<A c2 |"G" B=g g>d B<=G B<d |"A" A/B/c/d/ e>A c<A c2 |"E7" A<a g<b"A" a<A c<e :| 
"A" a/g/f/e/ c>a e>a c2 |"G" B=g g>d B<=G B<g |"A" a/g/f/e/ c<a e<a c<a |"F#m" A<a c<a"A" cA c<e || 
"A" a/g/f/e/"D" f>d"A" e>d c2 |"G" B=g g>d B<=G B<d |"A" A/B/c/d/ e>A c<A c2 | 
"E7" A<a g<b"A" a<A c<e ||  