Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/4
M:2/2
K:G
['G G d2 e f g2', 'G/A/B/c/ d G', 'A d2 e (f e) d ^c2', 'c F2'  
X:1
L:1/4
M:2/2
K:G
|: G G d2 | e f g2 | g f/e/ d c/B/ | A B/c/ B A/G/ | G G d2 | e f g2 | a g/f/ e d | A ^c d2 :: 
 f/g/ a a g/f/ | g f/e/ f e/d/ | c c c e | d/c/B/A/ B A/G/ | G/A/B/c/ d G | F G A2 | G/A/B/c/ d G | 
 A G/F/ G2 :|[M:6/4][K:Dmin] A | d2 e (f e) d | ^c2 d e2 e | f3 e2 d | c3 A2 |] c | 
 F2 G (c3/2 d/) c | F2 F c3/2 d/ c | d3 A2 G | F3 D3 |]  