A rectangular prism has a width of 6 inches and a height of 10 inches. The volume of the rectangular prism is 300 in3. What is the length of the rectangular prism?