Create melodies using the given musical pattern and the provided motif.
X:1
L:1/4
M:3/4
K:D
['d d e3/2 d/ e g B/c/', 'd e'  
X:1
L:1/4
M:3/4
K:D
"^A" d |"_NB2" d e3/2 d/ | e g B/c/ | d c3/2 B/ | A2 g | f3/2 e/f/g/ | a f d | e c A | d2 || 
"^B" d | e f2 | e g2 | d c3/2 B/ | A2 g | f3/2 e/f/g/ | a f d | e c A | d2 |]  