Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/16
M:2/4
K:D
['c2 dAFA d2(3edc dAFA BEEc dAFA d2BA', 'EAcA e2cA']  
X:1
L:1/16
M:2/4
K:D
 c2 | dAFA d2(3edc | dAFA BEEc | dAFA d2BA | BdcB A2 z2 :: e2(cA) EAcA | e2cA BAFA | e2cA FEAc | 
 BdcB AFF2 | e2cA EAcA | e2cA BAF2 | (3eee (3eee f2ed | cAB^G A2 z2 :|  