We will have the following:
First, we know that the volume of a rectangular prism has the form:

So, we will factor the expression, that is:


Since the base is a square we will have that the only candidate for it to be is "x*(x - y)^2 " or "y*(x - y)^2". If x*y where the base, then the expression would equal "0". This is since the base is an square, then x = y, so (x - y)^2 = (x - x)^2 = 0; or (y - y)^2 = 0.
Then: We will have that the lateral area will be given by "xy", that is:

Now, we solve for either "x" or "y" in this last expression, that is:

From the problem we will also have that:

So:
![undefined]()