Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:2/4
K:G
['GB B/c/B/A/ GB', 'ag fd', 'cA B>A Bc dB Gg fd cA'  
X:1
L:1/8
M:2/4
K:G
|: GB B/c/B/A/ | GB B2 | FA A/B/A/G/ | FA D2 | GB B/c/B/A/ | GB dg | fd cA |1 G2 G2 :|2 G2 Gd |: 
 g2 g>f | ga ag | fd de | fg af | g2 g>f | ga ag | fd cA |1 G2 G2 :|2 G2 A2 |: B>A Bc | dB AG | 
 F>E FG | AB cA | B>A Bc | dB Gg | fd cA |1 G2 A2 :|2 G2 G2 ||  