The gradient of the curve y = mx\(^2\) + 3x – 1 at the point…