the question is:

Find the average distance to thex-axis for points in the region bounded by thex-axis and the graph ofy = x - x2.

i know that it has a shape kind of like a circle and x goes from 0 to 1 and y has to go from 0 but i dont understand how to get the upper limit and the area (R).

Please Help! thank you