Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:4/4
K:G
['', 'B AGEG DG,B,D BAGA BedB AGED B,DA,D', 'GBdf e c3'  
X:1
L:1/8
M:4/4
K:G
 B |: AGEG DG,B,D | BAGA BedB | AGED B,DA,D | B, A,3 B,EED | E2 DE GEDB, | D2 CE DG,B,D | 
 E3 G DEGA |1 BdAB G3 B :|2 BdAB G2 Bc |: d G3 EGDC | B,G,B,D GBdf | e c3 AcGE | DFAd fedc | 
 BG(3GGG EGDC | B,G,B,D GBdf | e c3 efge |1 dBAB G2 Bc :|2 dBAB G3 B ||  