Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:4/4
K:G
['Bd cA GG DG BA Gg fd', 'Bd ^ce'  
X:1
L:1/8
M:4/4
K:G
|: Bd cA GG | DG BA Gg | fd cA GD | (3EFG AB cA :: Bd ^ce dd | Bd ga (3bag | Bd ^ce df | 
 a2 fa (3gfe :|  