Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:4/4
K:Edor
['', 'e2 ed', 'GBeB GE E2'  
X:1
L:1/8
M:4/4
K:Edor
 F |: G2 GF GFEF | GG BG AFDF | Eeed efgf | e2 ed BcdB | e2 ed B2 Bc | dedA FDDF | Eeed B2 Bc | 
 d2 AF GEED :: GBeB GE E2 | FAdA FDDF | GBeB GE E2 | FEDF E2 EF | GBeB GE E2 | FAdA FDDF | 
 G2 GF GFEG | BGFG E2 EF :|  