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