Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:4/4
K:G
['b<g g>e d>B B>d c<e c<e A2']  
X:1
L:1/8
M:4/4
K:G
 a | b<g g>e d>B B>d | c<e c<e A2 A/B/c | B2 B>A G<E E>B | c>A B>G G/F/E/D/ Dg/a/ | 
 b<g g>e d>B B>d | c<e c<e A2 A/B/c | B2 B>A G<E E>G | G/F/E/D/ DE/F/ G2 d>c | B<d d>B d<b b>a | 
 g>e e>d d2 Ac | B<d d2 e>B c2 | d>A B>G G/F/E/D/ DE/F/ | G>B B2 B<d d2 | g>d e>d d2 d>g | 
 b<g g2 g>e c>c | B>G A>F G2 G ||  