Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/4=140
M:4/4
K:G
['E<A A>B A2', 'A<a a>b a2'  
X:1
L:1/8
Q:1/4=140
M:4/4
K:G
 A/G/ | E<A A>B A2 g>e | d>BA>G E2 D>E | G>AB>A G<E D>E | G<A B>A G<E D>G | E<A A>B A2 G>A | 
 B>AB>d e2 g>a | b>ag>e de/f/ g>B | A<G E>G A3 || A<a a>b a2 g>a | b2 a>g e2 d>e | g>ag>b G>AB>G | 
 g/f/g/a/ g>b G>AB>G | A<a a>b a2 g>f | e>de>g a2 g>a | (3bag (3age de/f/ g>B | A>GE>G A3 ||  