Suppose a pyramid with a square base is 3x feet high and the square base measure is x-5 feet on each side. If the volume is 250 cubic feet, what is the dimensions of the pyramid?