Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:2/4
K:G
['dB gB', 'fd [M:2/4] A/B/A/G/ FD f/e/f/g/ fd ce'  
X:1
L:1/8
M:2/4
K:G
 dB gB | dc c/B/A/B/ | cA dA | cB BA/B/ | dB gB | fe e/d/e/f/ | ed af |1 gb g/d/B/c/ :|2 
 gb g2 z2 ||[K:D] A/B/A/G/ FD | f/e/f/g/ fd | e/f/e/d/ ce |[M:3/4] a/^g/a/b/ ag fd | 
[M:2/4] A/B/A/G/ FD | f/e/f/g/ fd | ce ac | ed d2 ||  