Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/8=232
M:4/4
K:G
['ed Bd']  
X:1
L:1/8
Q:1/8=232
M:4/4
K:G
|: G3 A BE E2 | Bd cA BE E2 | G2 GA BA Bd | eg fa ge dB | G3 A BE E2 | Bd cA BE E2 | G2 GA BA Bd | 
 eg fd e2 ef | g2 fg ed Bd | d2 ed Bd ef | g2 fg ed Bd | eg fd e2 ef | g2 fg ed Bd | d2 ed Bd ef | 
 ga ba gf ed | eg fa g2 g2 :|  