You can put this solution on YOUR website! Which way you mean the dimensions is not clear. The prism as not really described as square, but only one of the cross sections is square.
This may be dimensions of sizes x, x, and y.
The volume would be .
One way to view the description could be that y is the height and x is the base for a cross section area . In this view, volume is .