Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:6/8
K:C
['E G2 A F2 G']  
X:1
L:1/8
M:6/8
K:C
 C | C2 D E2 E/E/ | F2 DDCC | C2 c c2 c | c2 dcBA | G2 E G2 A | F2 G E2 C | C2 E G2 A | F2 G E2 |]  