Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:Amix
['e2 A', 'ABd cBc AAA']  
X:1
L:1/8
M:6/8
K:Amix
 d | ABd e2 A | g2 A e2 A | ABd e2 A | g2 e dBG | ABd e2 A | g2 A efg | agf g2 e | dBd dBG :: 
 ABd cBc | AAA ecA | ABd cBc | AAA dBG | ABd cBc | AAA efg | agf g2 e | dBd dBG :|  