Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:2/4
K:Dmix
['A2 AG Ad dB cB cE', 'ed ^cd'  
X:1
L:1/8
M:2/4
K:Dmix
 A2 AG | Ad dB | cB cE | EF GE | A2 AG | Ad dB | cB cE | ED D2 :| ed ^cd | e^c d2 | ed ^cd | 
 ea ag | ed ^cd | e^c d2 | AB ^cd | e^c d2 :|  