Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
['a>gff f>edd edec', 'e2 f2 gg/f/ ee f2 g2 |{b}'  
X:1
L:1/8
Q:1/4=100
M:2/4
K:D
 a>gff | f>edd | edec | d/e/f/e/ d/e/f/g/ | a>gff | f>edd | edec | d2 d2"^fine" :| e2 f2 | 
{a} gg/f/ ee | f2 g2 |{b} aa/g/ fa | aggf | aggf | ab/a/ gf | f2 e2"^D.C" |]  