Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
M:4/4
K:G
['G2{f} g2 E2{^d} e2 A2 d>c BA', 'd3 B e>c'  
X:1
L:1/8
M:4/4
K:G
 G2{f} g2 E2{^d} e2 | A2 d>c BA G2 | B>c d2 c>d e2 | .d2 .f2 g2 z2 :: B2 B2 d3 B | e>c A>G (GF)ED | 
 B2 B>c d3 B | e>c A>F G4 :|  