y'' = 8x
y' = 4x² + c
If it makes an angle of 45 degrees with the x-axis then the gradient is 1 at (-2, 5)
4(-2)² + c1 = 1
c1 = - 15
Thus
y' = 4x² - 15
y = 4x³/3 - 15x + c2
Sub (-2, 5) since it lies on the curve
5 = - 32/3 - 15(-2) + c2
c2 = - 43/3
Hence
y = 4x³/3 - 15x - 43/3
Check my working...hope that's right...