Answer:
Area of the base =

Explanation:
We know that volume of rectangular prism = (Area of base) x (Height)
or [Area of base] = [Volume]/[Height]
So basically we need to divide given area by given height to find the answer.
given height is (x+2) that means (x+2) must be factor of volume equation
or x=-2 must be root of volume equation so write down coefficients of volume equation then we divide by -2 as shown in attached picture.
Last digit on the right is always remainder.
Remaining coefficients {2, 5, -18} will give the area equation:

Hence final answer is:
Area of the base =
