Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
Q:1/8=120
M:2/4
K:Amin
['EA AB cd e2 G2 G(3A/B/A/ GE', 'e^f gg/^f/ ge de/^f/ g2 ea ab'  
X:1
L:1/8
Q:1/8=120
M:2/4
K:Amin
 EA AB | cd e2 | G2 G(3A/B/A/ | GE ED | EG A>B | cd e^f | ge dB |1 A2 A/B/A/G/ :|2 A2 a2 || 
 a/b/a/g/ ab | ag e^f | gg/^f/ ge | de/^f/ g2 | ea ab | ag ed | ge dB | BA A2 :|  