For this case we have that by definition, the volume of a rectangular prism is given by:

Where:
It is the area of the base
h: It's the height
According to the data we have:


Then:

Thus, the volume is:

Answer:

Use slope formula: y2-y1/x2-x1
XZ: -5/9
YZ: 2/7
XY: -7/2
XYZ is a right triangle because two of these slopes have a product of -1.
(YZ and XY does). We are all busy these days.