Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:3/8=108
M:6/8
K:G
['G2 d dBG', 'gdg gdg'  
X:1
L:1/8
Q:3/8=108
M:6/8
K:G
"^A" G2 d dBG | (e/f/g)e dBG | G2 d dBG | F2 G AFD | G2 d dBG | (e/f/g)e dBG | BGB AFA | G3 G3 :| 
"^B" gdg gdg | gfe dcB | gdg gdg | ABA AFD | gdg gdg | gfe agf | fed Ad^c | d3 D3 :|  