Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:4/4
K:G
['D2 G2 GG B/ B3/2 A/ A3/2']  
X:1
L:1/8
M:4/4
K:G
 D2 | G2 GG B/ B3/2 A/ A3/2 | G6 DD | G/ G3/2 GB d2 cB | A6 DD | G2 G2 B2 AB | c2 cc E2 FE | 
 D D3 F/ F3/2 EG | G6 ||  