Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:6/8
K:G
['GBd ed^c d2 d']  
X:1
L:1/8
M:6/8
K:G
 D/G/ | BAB GBd | ed^c d2 d | egf dGB | ded A2 D/G/ | cAB GBd | ed^c d2 d | de=f fee | 
 e^fg f2 (3d/e/f/ | gBe .dGA | BcA G2 D/D/ | DED D2 D/D/ | GA[GB] c2 d/d/ | de^f gdc | 
 BAG d2 d/d/ | de=f fee | d^fg f2 (3d/e/f/ | gBe dGA | BcA G2 x |]  