Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/2
K:G
['Bdd^c egdg', 'bgfg egdg'  
X:1
L:1/8
M:2/2
K:G
 Bdd^c egdg | (3(efg) (dg) fafd | Bdd^c egdg | cAFD (BG) G2 | Bdd^c egdg | (3(efg) (dg) fafd | 
 Bdd^c egdg | fdcA BG G2 || bgfg egdg | bgfg (fa) a2 | bgfg egdg | cAFD (BG) G2 | bgfg egdg | 
 bgfg (fa) a2 | (3(bag) (3(agf) (3(gfe) (3(dcB) | cAFD (BG) G2 ||  