Find equation of a line with gradient equal to $2$ which intersects the parabola $y = 6 − x − x^2$ at one point?
I tried using the equation of the line $y=2x+c$ and making it equal to $y= -x^2 - x +6$. Then finding $x$ using the quadratic formula. But I just can't find the $c$ value.
Let's find point of intersection: $$ 2x+c=-x^2-x+6\Longrightarrow x^2+3x+(c-6)=0. $$ These equation must have exactly one root; so, $$ 3^2=4\cdot1\cdot(c-6)\Longrightarrow c=\frac{33}{4} $$