Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
M:4/4
K:C
['BEA |[M:4/4][K:D]SOSOO .!fermata!PMTuCO(Mfe) dcBA FGAB cABG A2', '(de) f2 (ef) gfef'  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:4/4][K:D]SOSOO .!fermata!PMTuCO(Mfe) | dcBA FGAB | cABG A2 (fe) | d2 (cA) BGAF | 
 GBAF DEFG | ABAF GFEF | D2 DE F2 G2 | A2 d2 cdef | d2 dd d2 :: (de) | f2 (ef) gfef | 
 dcAG A2 (de) | f2 (ef) gfef | d3 c A2 (fg) | agfa gfef | dcde f2 ec | dcAG FGAB | cABG A2 (fe) | 
 d2 cA BGAF | GBAF DEFG | ABAF GFEF | D2 DE F2 G2 | A2 d2 cdef | d2 dd d2 :|  