Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:3/8
K:G
['G/A/ BBB GAB dcB A2 G F>AA']  
X:1
L:1/8
M:3/8
K:G
 G/A/ | BBB | GAB | dcB | A2 G | F>AA | ABc | B2 A | G2 z |]  