Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:2/2
K:G
['B>GEA GFED', 'Adfd adfd efge d^cBA', 'B (A<D)F>D (A<D)G>B (A<D)F>D E/E/E GB A<DF>D', 'A d2 g'  
X:1
L:1/8
M:2/2
K:G
|: [gBDG,]2 fe dB{d} cB/A/ | B>GEA GFED | B,GDG CGEG | AcEA GFED | g2 fe dcBA | B>GEA GFED | 
 B,DGD CEAc | BGDF G4 :| Adfd adfd | efge d^cBA | FAdA GB eg | fdBe d^cBA | Adfd adfd | 
 efge d^cBA | BgAf GeFd | Ad^ce d=c BA |][M:4/4][K:D] B | (A<D)F>D (A<D)G>B | (A<D)F>D E/E/E GB | 
 A<DF>D AdBg | fdef d/d/d d |] B | A d2 g f<de>f | gefd{f} edBd | ABde fdeg | fdef d/d/d dB | 
 A d2 g fedf | gefd{f} edBd | BdBG FAdA | B>cdF D/D/D D |]  