Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=128
M:4/4
K:Amin
['c<A A>B', "c'<a a>b"  
X:1
L:1/8
Q:1/8=128
M:4/4
K:Amin
|: e | c<A A>B c<A A>f | c<A A>E G2 G>e | c<A A>B c<A A>B | c>d e>c A2 A>B | c>d e>d e>d c>d | 
 e>d c>E G2 Gc/B/ | A>B c>d e>d c>a | g<e d>c A2 A :| a/b/ | c'<a a>b c'<a a>e' | 
 c'<a a>e g2 ga/b/ | c'<a a>b c'<a a>b | c'>d' e'>c' a2 a>b | c'>d' e'>d' e'>d' c'>d' | 
 e'>d' d'/c'/b/a/ g2 gc'/b/ | a>b c'>d' e'>c' d'>e' | c'>a b>^g a2 a>b | c'<a a>b c'<a a>e' | 
 c'>a a/g/f/e/ g2 ga/b/ | c'<a a>b c'<a ae/^g/ | a>e g>B A2 A>B | c>d e>g e>d c>d | 
 e>d c>E G2 Gc/B/ | A>B c>d e>d e>a | g<e d>c A2 A ||  