Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:6/8
K:G
['B2 G GBG', 'd2 g'  
X:1
L:1/8
M:6/8
K:G
 c | B2 G GBG | A2 B c2 e | B2 G GBG | ecA ecA | B2 G GBG | A2 B c2 e | dBd gfe | dBG G2 :| | c | 
 B2 c d2 g | ece d2 g | BGB dBG | ecA ecA | B2 c d2 g | ece d2 c | Bcd gfe | dBG G2 :|  