Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/16
Q:1/4=100
M:2/4
K:G
['GABc d2G2', 'd8 defg a2d2 c2(BA) B2G2 e2d2c2B2 AGFE'  
X:1
L:1/16
Q:1/4=100
M:2/4
K:G
 GABc d2G2 | e2G2 d2G2 | c2B2A2G2 | AGFE D4 | GABc d2G2 | F2A2 d4 | ^c2e2 A2(B^c) | d8 :: 
 defg a2d2 | c2(BA) B2G2 | e2d2c2B2 | AGFE D4 | (GA)B2 (EF)G2 | (AB)c2 (FG)A2 | (Bc)d2 (AB)c2 | 
 B2G2 G4 :|  