Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/4
Q:1/2=100
M:2/2
K:D
['D2 F E/D/ A d2 c/B/ A', 'z f2 a g/f/ e A2 A'  
X:1
L:1/4
Q:1/2=100
M:2/2
K:D
 D2 F E/D/ | A d2 c/B/ | A E2 F | G/A/ B2 c | d B A F | G E g2 | B G F E | D d2 z :: f2 a g/f/ | 
 e A2 A | B2 d c/B/ | A F2 E/F/ | G G/A/ B B/c/ | d B g2 | B G F E | D d2 z :|  