Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
Q:1/4=140
M:2/4
K:G
['dd/d/ dd', 'dB gg/g/ gf e>f ec A3 G'  
X:1
L:1/8
Q:1/4=140
M:2/4
K:G
 B | dd/d/ dd | dd/d/ dd | ed BG | D3 G | F>G AB |1 .cB ce | ed ^cd | B2 :|2 .c2 B AG | FD EF | 
 G2 |: B2 | dd/d/ dB | gg/g/ gf | e>f ec | A3 G | F>G AB |1 .cd ef | ag/g/ gB | d2 :|2 .c2 B AG | 
 FD EF | G4 |]  