Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/4
M:4/4
K:G
['d B'  
X:1
L:1/4
M:4/4
K:G
|:"G" B B/c/ d g |"D" f c c/B/ c | A A/B/ c/d/e/f/ |"^D/C/am" e"G" d/c/ B/c/ d |"G" B B/c/ d g | 
"D" f c c/B/ c | a a/g/ f/d/e/f/ |"G" g b g z ::"G" B d B d |"D" c/B/c/d/"^C/am" e c |"D" A c A c | 
"^D/C/am" e"G" d/c/ d B |"G" B d B d |"D" c/B/c/d/"^C/am" e2 |"D" a a/g/ f/d/e/f/ |"G" g b g z :|  