Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/4=96
M:4/4
K:G
['B/c/ d<Gd>B Td2 GB/c/ d>d (e/d/)c/B/ cA', '(g/a/b/a/) g2'  
X:1
L:1/8
Q:1/4=96
M:4/4
K:G
 B/c/ | d<Gd>B Td2 GB/c/ | d>d (e/d/)c/B/ cA AB/c/ | dGB<g A<gG<g | d>G{c} BA/G/ DGG :| e | 
 Td>eg>a (g/a/b/a/) g2 | gG{e} dc/B/ e<A e2 | d>eg>a (g/a/b/a/) g2 | dG{c} BA/G/ DGGe | 
 d>eg>a (g/a/b/a/) gd/c/ | Bg{e} dc/B/ [AD]>B{d} cB/A/ | BGdB dg/f/ ec | d>G{c} BA/G/ DGG |]  