A prism with a triangular base has a base of 5 and a height of 9. If the prism is 10 in long, what is the volume of the whole figure?