Volume and Surface Area of Box with Square Base

In the right window is a rectangular box with a square bottom. You are exploring the relationship of volume and surface area. Find an equation that represents volume with respect to side AB and surface area. The top and bottom of the box have been translated by the length of vector shown.