Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/2=75
M:4/4
K:C
['flat in C2 C>C E2 E>E GEGE', 'G2 G>G Gceg'  
X:1
L:1/8
Q:1/2=75
M:4/4
K:C
"_1 flat in ms" C2 C>C E2 E>E | GEGE C2 G2 | cGcG cGEC | G2 G>G G2 z2 | a3 e c3 e | d3 e fedc | 
 e3 f agfe | d2 d>d d4 :: G2 G>G Gceg | G2 G>G Gceg | fddd ec c2 | agfe (e2 d2) | 
 c2 c/d/e/d/ cGAB | B2 A>A A2 =B/c/d/e/ | ff ee dd f/e/d/c/ | =B2 AG GFED | C2 C>C E2 E>E | 
 GEGE C2 f2 | egge fdc=B | c2 c>c c4 :|  