Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/4
M:2/4
K:G
['d d']  
X:1
L:1/4
M:2/4
K:G
 d e | d/G/G/G/ | d/d/e/e/ | d B/G/ | d/d/G/e/ | d/B/ G | d e | d2 | d d B2 | d d B2 | 
 d d B2 d d e e | d d B2 |]  