Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:2/4
K:C
['ce d2']  
X:1
L:1/8
M:2/4
K:C
 GccB | ce d2 | c4 | ceed | efge | dddc | dfed | ccBG | ce d2 | c4 |]  