Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:2/4
K:G
['G2 GB dB AB', 'ed Bd'  
X:1
L:1/8
M:2/4
K:G
|: G2 GB | dB AB | c2 ce | ed Bd | G2 GB | dB AB | cA EA | AG GA :: g2 f2 | ed Bd | c2 ce | ed Bd | 
 g2 f2 | ed Bd | cA EA | AG GA :|  