Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/4=125
M:2/2
K:G
['eAAg G/G/G']  
X:1
L:1/8
Q:1/4=125
M:2/2
K:G
 g | G/G/G Bd eAAg | G/G/G BG dGBG | cdBd eAAg | G/G/G GE F2 G |:  