Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/8=128
M:4/4
K:G
['G2 B>G B<d g2', 'B<d d>g b/a/g/f/'  
X:1
L:1/8
Q:1/8=128
M:4/4
K:G
|: D | G2 B>G B<d g2 | G2 c/B/A/G/ F<A A>B | G2 B>G B<d g2 | c>A c/B/A/G/ D<G GD | G2 B>G B<d g2 | 
 G2 c/B/A/G/ F<A A>B | G2 B>G B<d g2 | c>A c/B/A/G/ D<G G :: d/c/ | B<d d>g b/a/g/f/ g2 | 
 B<G d>G F<A Ad/c/ | B<d d>g b/a/g/f/ g2 | c>A de/c/ B<G Gd/c/ | B<d d>g b/a/g/f/ g>d | 
 B<G d>G F<A AB/c/ | d>c B>A B>G F>E | F<D de/c/ B<G G :|  