Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:4/4
K:C
['FED EFG AGE c2 e d^cA', 'd cBA B^cd'  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:G] a e acceed c ue ae acua C auae uacceed e ave ef a C a!p![Q:1/8=160]"^D modal" .A | 
 FED EFG | AGE c2 e | d^cA e>fd | e^cA A2 G | FED EFG | AGE c2 e | d^cA GEA | DED D2 :| d | 
 cBA B^cd | efe e2 d | d^cd e>fd | e^cA A2 d | cBA B^cd | eag e2 d | d^cA GEA | DED D2 :|  