Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:6/8
K:G
['fBd efe edB d2 d dBA', 'G,B,D E2 D EGA AGA BdB AGA'  
X:1
L:1/8
M:6/8
K:G
 g3 fgf | edB BAG | A2 A AGA | B2 d edB | gag fBd | efe edB | d2 d dBA | ABd edB | gBd fBd | 
 efe edB | d2 d dBA | ABd edB | gag fBd | efe edB | d2 d dBA | BAG AGE || G,B,D E2 D | EGA AGA | 
 BdB AGA | BGE EDB, | G,B,D E2 D | EGA AGA | BdB AGA | BGF G2 D | G,B,D E2 D | EGA AGA | BdB AGA | 
 BGE EDD | gag fBd | efe edB | d2 d dBA | BAG AGE ||  