Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/4=100
M:2/2
K:G
['c (B>A)BG B(dd)g egdB A/A/A Ac (B>AB)A', 'gabg a/g/f/e/ gd egdB', 'd>cBg G/G/G GG (B/c/)d A>B G/G/G G/G/G', 'B d2 e/f/'  
X:1
L:1/8
Q:1/4=100
M:2/2
K:G
 c |"^tr" (B>A)BG B(dd)g | egdB A/A/A Ac | (B>AB)A B(dd)g | (b/a/g/f/) gB G/G/G G :| f | 
 gabg a/g/f/e/ gd | egdB A/A/A Af | gabg a/g/f/e/ gd | egdB G/G/G Gf | gabg a/g/f/e/ gd | 
 egdB A/A/A Af | b/a/g a/g/e g/e/d e/d/B | egdB G/G/G ||[M:2/2][K:Ador][Q:1/4=100] B | 
 G/G/G GB d>cBg | G/G/G GG (B/c/)d A>B | G/G/G G/G/G d>cBd | egde Bg A || c | B d2 e/f/ gded | 
 B d2 e/f/ gBA>c | B d2 e/f/ gded | (3cdc (3BcB gB A ||  