Here is a picture of cycloid:
<
Do you know that the area under a curve $y(x)$ between an interval $[a,b]$ is
$$\int^b_a y(x) dx$$
By using change of variable $x=x(t)$, you can change the upper and lower limits to $0$ and $2\pi$, and $dx=x'(t)dt$. $y(x)$ then of course should be changed to $y(x(t))$ which is also $y(t)$.