Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
M:6/8
K:G
['G2 B AcA', 'gfg efg'  
X:1
L:1/8
M:6/8
K:G
 G2 B AcA | BdB AFD | G2 B AcA | B3"^cr in MS" G3 :: gfg efg | agf def | gfg efg | 
 f3"^cr in MS" d3 | gfg efg | afd d2 B | G2 B AcA | B3 G3 :|  