The graph of $\displaystyle y = f(x)$ passes through the point $\displaystyle (1,2)$ and has a horizontal tangent at that point.

If $\displaystyle \frac{d^2y}{dx^2} = 4x - 5$ find f(x) exactly.

I have absolutely no idea on how to even approach this question

Thank you to anyone who attempts : )