Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/4
M:4/4
K:C
['c c', 'e e', 'g/ g/'  
X:1
L:1/4
M:4/4
K:C
 c3/2 c/ c c | c c c e | d c B A | G3/2 G/ G G | E G C G | F F G g/ f/ | e g d/ e/ f | 
 e3/2 d/ c2 || e3/2 e/ e e | e e e g | f e/ f/ d c | d G G d | e d e d | e d d c/ B/ | c A d B | 
 c3/2 d/ e2 || g/ g/ g/ g/ g g/ g/ | g g/ g/ g G | A3/2 A/ B c | B3 A/ B/ | c B c B | c d B A/ G/ | 
 A F G3/2 G/ | C3 z ||  