A box shaped like a rectangular prism has a height of 9 inches, a width of 5 inches, and a volume of 315 cubic inches. What is the length?