Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/4
M:2/2
K:G
['g g d e', 'B A B c'  
X:1
L:1/4
M:2/2
K:G
"_-61,-1 1)" g | g d e d/c/ | B/A/B/c/ B g | g d e d/c/ | B3 :: B | B A B c | A/G/A/B/ A d/c/ | 
 B A B c | A3 a | f d f g | g/f/g/a/ g a |"^[sic]" e/f/ g g3/2 f/ | g3 :|  