Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['G>A B2 (B>c) d2 (de) A2 A>B']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
"^Moderate." G>A | B2 (B>c) d2 (de) | A2 A>B c2 (dB) | G2 G2 F2 G2 | (B4{cB} A2) B2 | 
 (BA)(GF) E2 z e | (ed)(^cB) A3 B | (^cd)(ef) g2 e2 |{g} f4({e} d3 ^c) | B2 (^cd) (cd)(ef) | 
{e} d4 z2 (de) | (fgaf) d2 =c2 | B2 (dB) G3 F | E2 e2 (dc)(Bc/A/) | (G4{AG} F2) D2 | 
 (EG)(cB) (cE)(FG) | (FG) (d^c) (dA)(B=c) | (Bd)(gf) (gd)(eB) |{d} c4 (d3 c) | (BG)(AB) (cE)(AF) | 
{A} G4 z2 |]  