The equation is given by:

Slope of tangent will be:

The equation of tangent is given by:

The line is tangent if it touches the curve at a single point:
Substitute P(x)=5 to get:

The line is tangent if the discriminant is 0 so it follows:

Hence the roots of the equation are real and unequal.
Hence there is no tangent that can be drawn from point (-1,5) to the given curve.