Is the volume of a triangular prism one-third the volume of a rectangular prism with the same base area and height? ASAP!!!!!!!

15 POINTS!!
PLEASE ANSWER CORRECTLY!