Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:6/8
K:G
['G2 G2 A'  
X:1
L:1/8
M:6/8
K:G
|: D |"G" G2 G"D7" G2 A |"G" BAG G3 |"C" edc"G" BAG |"Am" FAA"D7" AFD | G2 G"D7" G2 A |"G" BGG g3 | 
"C" f2 e"D7" e2 A |"G" A2 G"G" G2 ::[K:D] F/G/ |"D" A3 f2 e |"D" dcd"A7" A3 |"D" ABA"Bm" AGF | 
"Em" G2 E"A7" EFG | D A2 f2 e |"D" dcd"A" ABA |"G" Bcd"A7" edc |"D" d3 d2 :|  