Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/4
K:G
['B(BB)A G(gg)f Te2 d2', 'G2 B(ee)d ^cATAG FdTd=c BGTGF E(cTc)B A(FF)G'  
X:1
L:1/8
M:2/4
K:G
 G(dd)c | B(BB)A | G(gg)f | Te2 d2 | c(ee)(d/c/) | B(dd)A/G/ | F2 G2 | A/G/F/E/ D/C/B,/A,/ | 
 G,(dd)c | B(BB)A | G(gg)f | Te2 d2 | c(ee)d/c/ | dFGc | BATGF | TG2 G2 :: B(ee)d | ^cATAG | 
 FdTd=c | BGTGF | E(cTc)B | A(FF)G | F2 TG2 | A/G/F/E/ D/C/B,/A,/ | G,(dd)c | B(BB)A | G(gg)f | 
 Te2 d2 | c(ee)d/c/ | dFGc | BAGF | TG/F/G TG/F/G :|  