A rectangular prism has a width of 3 inches, a length of 6 inches, and a height triple its length. Find the volume of the prism.