The volume of a rectagular prism is x^3+3x^2-4x-12. The length is x+2 and the width is x+3. What is the height

V = LWH

x^3 + 3x^2 - 4x - 12 = (x+2)(x+3)(ax + b)

ask yourself, "where does the x^3 come from?
it must be (x)(x)(ax), so a = 1
ask yourself, "where does the -12 come from?
it must be (2)(3)(b), so b = -2

height = x-2

check by expanding (x+2)(x+3)(x-2)