A rectangle is inscribed with its base on the x-axis and its upper corners on the parabola y=7-x^2 .

What are the dimensions of such a rectangle with the greatest possible area?