Now, since the lines are tangent to the quadratic, their slopes at some point must be the same as the quadratic's and hence can be given by the same formula.
as you rightly said, the slope of the quadratic is given by the formula , so we can set this for m in the equation of the line above. thus we have:
since the lines touch the curve at one point, we equate the formulas to find what x's the lines touch the curve
thus we have:
I think you can take it from here