determine intersection of y=mx+k and y=ax^2+bx+c where a=/=0

i got

((-b+m+sqrt(-4a(c-k)+(b-m)^2))/2a, (m(-b+m+sqrt(-4a(c-k)+(b-m)^2)+k)/2a))

and

((-b+m-sqrt(-4a(c-k)+(b-m)^2))/2a, (m(-b+m-sqrt(-4a(c-k)+(b-m)^2)+k)/2a))

as my 2 solutions

is it correct?