Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
Q:1/4=140
M:4/4
K:D
['d2 fd e2 ge', 'D2 (3FED AF dB'  
X:1
L:1/8
Q:1/4=140
M:4/4
K:D
"^NB1" z | d2 fd e2 ge | fafd cecA | d2 fd e2 ge | fa Ac d3 :: F | D2 (3FED AF dB | AFED CECA, | 
 D2 (3FED AF dB | AGFE D3 :|  