Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/2=96
M:2/2
K:Gmin
['(d>c) (B>A)G>^F (G>A)B>c', 'G2 (ga) bgdB bdBG DGBd gdbg afcA'  
X:1
L:1/8
Q:1/2=96
M:2/2
K:Gmin
 (d>c) | (B>A)G>^F (G>A)B>c | d2 G2 G2 (a>g) | (f>e)d>c (B>c)d>B | (3cdc (3BAG F2 (d>c) | 
 (B>A)G>^F (G>A)B>c | dg^fa g2 (g>d) | (e>d)c>=B (c>e)d>c | (c>B) G2 G2 || (ga) | bgdB bdBG | 
 DGBd gdbg | afcA fcAF | CFAc dcBA | BAG^F GABc | dg^fa g2 (g>d) | (e>d)c>=B (c>e)d>c | 
 (cB) G2 G2 |]  