Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:Amix
['AAcA eAcA', 'Aa^ga eaca']  
X:1
L:1/8
M:4/4
K:Amix
|: e | AAcA eAcA | GGBG BGBg | AAcA eAcA | Eaef cAA :| B | Aa^ga eaca | Bgdg BGGB | Aa^ga eaca | 
 faef cAAB | Aa^ga eaca | Bgdg BGGB | AAcA dBcA | Eaef cAA ||  