Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/8=150
M:4/4
K:G
['G2 GB dGBd GBdg bgag (3efg dg', '(3cBA BG AGEG DGBd'  
X:1
L:1/8
Q:1/8=150
M:4/4
K:G
 D | G2 GB dGBd | GBdg bgag | (3efg dg Bdge | dBAG edBA | G2 GB dGBd | GBdg bgag | (3efg dg Bdge | 
 dBAB G3 :| D | GFGB AGED | gfge dBAB | cdBc ABGB | (3cBA BG AGEG | DGBd B2 Bd | (3cBA BG AGEG | 
 DGBd gdBG | DGFA G3 :|  