Design an equation for the volume of a box made from a cardboard sheet of length q and width p and square cutouts of side length x.