Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:4/4
K:Amix
['e AAag a2 ef geae g2 de', 'c<ccA d2 dB'  
X:1
L:1/8
M:4/4
K:Amix
 e | AAag a2 ef | geae g2 de | g2 ea c<caf | ecdB AAA :: a | c<ccA d2 dB | c<ccA BGGa | 
 c<ccA d2 dB | ecdB AAA :|  