Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:G
['Bc dedB GBdB cdcB A3 d fgfe', 'g2 f g2 fe d f2 e'  
X:1
L:1/8
M:4/4
K:G
|: Bc | dedB GBdB | cdcB A3 d | fgfe dfaf | gage d2 Bc | dedB GBdB | cdcB A3 d | fgfe dfaf | 
 g2 gf g2 :: Bc | d g2 f g2 fe | d f2 e f2 ed | c e2 d e2 dc | BABc d2 Bcd g2 f g2 fe | 
 d f2 e f2 ed | c e2 d e2 dc | BGAF G2 :|  