What is the volume of a triangular prism having a base of 2, a height of 8, and second height of 14?