For which values of $m$, the line $y=2x-4$ is tangent to the curve $y=(m+3)x^2+mx ?$
We have a quadratic equation. the equation of slope of tangent line to it for specific $x$ can be find by $y'=(2m+6)x+m$. but when I compare it to $y=2x-4$, I can't find $m$.
You are after a point $(a,b)\in\Bbb R^2$ such that:
This means that$$\left\{\begin{array}{l}b=(m+3)a^2+ma\\b=2a-4\\(2m+6)a+m=2\end{array}\right.$$There are only two solutions: $m=-2$ (in which case $a=2$ and $b=0$) and $m=22$ (in which case $a=-\frac25$ and $b=-\frac{24}5$).