a rectangular has one vertex(corner) at (0,0) and the diagonally opposite vertex(corner) in the first quadrant on the curve of the function y = 1/(1+x^2). find the dimensions of the rectangle with the largest area.

how do i do this question?

would area be a = (2x)(1/(1+x^2)) ?