Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
M:4/4
K:A
['a2 fa eAA>a', 'c<Ae>A f>Ae>d'  
X:1
L:1/8
M:4/4
K:A
 e | a2 fa eAA>a | c<Ae>A c>AA>e | a2 fa eAA>a | B<=Gd>G B>GG>e | a2 fa eAA>a | c<Ae>A c>AA>c | 
 =g2 f<g a>ef>d | B<=Gd>G B>GG || a | c<Ae>A f>Ae>d | c<Ae>A c>AA>a | c<Ae>A f>Ae>d | 
 B<=Gd>G B>GG>a | c<Ae>A f>Ae>d | c<Ae>A c>AA>c | =g2 f<g a>ef>d | B<=Gd>G B>GG |]  