The area of a triangle is 25 square inches.

The base of the triangle is x – 3,

and the height is x + 2.

Find the value of x, and the dimensions of the triangle.