Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:3/4
K:G
['g2 gb', 'dB/d/ cB AB c(d/c/) B(d/B/)'  
X:1
L:1/8
M:3/4
K:G
 vd2 g2 gb | (3(agf) g4 | d2 g2 gb | ag fg (3a(gf) | g2 (f{gf)}e fg | a>g f>g e(g/e/) | 
 (ed) d>g g>b | (3a(gf) g4 :: vB2 dB/d/ cB | AB c(d/c/) B(d/B/) | AB cB AG | (DG) .B.G (DG) | 
 B2 dB/d/ cB | AB c(d/c/) B(d/B/) | (3A(Bd) (3c(BA) BG | (fa) g4 :|  