The gradient of a curve is 2x + 7 and the curve passes through point…