A triangular prism has a volume of 2,500 cubic feet. What is the length of the prism if its triangular bases are right triangles, each with perpendicular sides of 10 and 20 feet?