Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:4/4
K:G
['d>BG>B c>AF>A']  
X:1
L:1/8
M:4/4
K:G
 (B>c) | d>BG>B c>AF>A | (3(GFG) A>F G>AB>c | d>gf>g e>fg>e | d>BG>B A2 B>c | d>BG>B c>AF>A | 
 G>DB,>D G>AB>c | d>gf>g e>cA>F | G2 B2 G2 ::  