Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/4=96
M:2/2
K:G
['dc Bd g2 g2 fg afdB c2', 'G2 dc'  
X:1
L:1/8
Q:1/4=96
M:2/2
K:G
 dc | Bd g2 g2 fg | afdB c2 BA | Bdgf edcB | AGFE D2 dc | Bd g2 g2 fg | afdB c2 BA | cedc BGAF | 
 G2 G2 G2 :: dc | BcdB edcB | cdBc A2 cB | ABcA dcBA | BcAB G2 dc | BGBd bgdB | cAce afdB | 
 cedc BGAF | G2 G2 G2 :|  