Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/4
M:3/4
K:C
['E G']  
X:1
L:1/4
M:3/4
K:C
 C | C E G | G F E | D/ E3/2 D | C2 z | C E G | c2 c | B G G | G2 B | c c c | c2 E | F G A | G2 C | 
 E/ G3/2 G | G F E | D E/ D3/2 | C2 C/D/ | E E E | G F/ E3/2 | D E D | C3 |]  