Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
M:2/4
K:G
['g dBAG FAAc BGBd g2 fe dGBG', 'G d ggfg afdd ggfg a2 dd'  
X:1
L:1/8
M:2/4
K:G
 g | dBAG | FAAc | BGBd | g2 fe | dGBG | FAAB | EGFA | G2 G :: d | ggfg | afdd | ggfg | a2 dd | 
 ggfg | afed | e(f/g/) f(g/a/) | g3 f/e/ | dGBG | FAAc | BGBd | g2 fe | dGBG | FAAB | EGFA | 
 G2 G :|  