In an exam, you would be expected to say that the condition for the tangent to meet the curve is

This cubic equation must have three roots, but because the line is a tangent to the curve, the

-coordinate of that point (and hence the corresponding solution to the cubic) must be a double root. Thus, let the cubic equation have roots

and apply root theory to deduce that

and

.