Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/8=120
M:2/4
K:G
['B/c/d/B/ GB', 'B>d ef g2 g2 fe/f/'  
X:1
L:1/8
Q:1/8=120
M:2/4
K:G
 A | B/c/d/B/ GB | B/c/d/B/ GB | A/B/A/G/ FA | GB d2 | B/c/d/B/ GB | B/c/d/B/ GB | A/B/A/G/ FA | 
 G2 G :| A | B>d ef | g2 g2 | fe/f/ df | ed BA |1 B>d ef | g2 g2 | fe/f/ af | e2 e :|2 
 B/c/d/B/ GB | B/c/d/B/ GB | c>d ef | g4- | g4 ||  