Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:4/4
K:G
['BAGF EDEF', 'G2 BA Bdef gfgb agfe d2 Bd', '(3efg dB (3cde cA (3Bcd BG FDEF', 'DGBd dcAB cBGB BAFA', 'BA (3Bcd ed (3efg (3fga gf'  
X:1
L:1/8
M:4/4
K:G
|: gf | edB^c dBA=c | BAGF EDEF | GFGA GABc | dedc B2 gf | (3efg de (3Bcd Ac | BAGF EDEF | 
 GFED EGFA | G4 G2 :: BA | Bdef gfgb | agfe d2 Bd | edef gfed | (3efg af g2 fg | 
 (3efg de (3Bcd Ac | BAGF EDEF | GFED EGFA | G4 G2 :: gf | (3efg dB (3cde cA | (3Bcd BG FDEF | 
 GBdB cdec | (3efg (3fga gfed | (3efg dB (3cde cA | (3Bcd BG FDEF | GFED EGFA | G4 G2 :: GF | 
 DGBd dcAB | cBGB BAFA | DGBd dcAg | (3fga gf gdBG | DGBd dcAB | cBGB BAFA | BAGA (3Bcd FA | 
 G4 G2 :: dc | BA (3Bcd ed (3efg | (3fga gf gdBG | BA (3Bcd ed (3efg | (3fga gf g2 fg | 
 (3efg dB (3cde cA | (3Bcd BG FDEc | (3BdB GB (3AcA FA | G4 G2 :|  