Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:G
['Bc g2 fe dedc', 'AG ABcd edcB Add^c d2 B=c g2'  
X:1
L:1/8
M:4/4
K:G
 G |"C" GFGA BGcB |"C" AGAB G2 Bc | dgf"C"g edcB | cedB A2 Bc | d"C"ggf"C" g2 fe | dedc B2"C" AG | 
 ABcA dcAF |"C" G2 GF G2 :: Bc | d"C"ggf"C" g2 fe | dedc B2 AG | ABcd edcB | Add^c d2 B=c | 
 d"C"ggf"C" g2 fe | d"C"edc B2 AG | ABcA dcAF |"C" G2 GF G2 :|  