Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:C
['[M:2/4][K:G] .abc d>c (3Bcd c>A B>GA>F G>BA>F', 'd>c (3Bcd g>a b>gd>B'  
X:1
L:1/8
M:4/4
K:C
[M:2/4][K:G] .abc d>c | (3Bcd c>A B>GA>F | G>BA>F G2 (3def | g>ba>f g>ed>B | c>BA>B c>ed>c | 
 B>dc>A B>GA>F | G2 (f<b) (f<b) a>g | (3fag (3fed (3egf (3edc | d>fe>^c d2 :: d>c | 
 (3Bcd g>a b>gd>B | A2 (f<a) (f<a) d>c | (3Bcd g>a b>gd>B | G2 (e<g) (e<g) (3def | 
 (3gag (3fed (3gag (3fed | (3gag (3fedd>cB>A | (3Bcd (3gfe d>cB>A | G>BA>F G2 :|  