$(X,Y)$ has joint pdf $\frac{1}{y}$ for $0<x<y<1$.
I would usually use the marginal pdf to get the expected value. But the question doesn't let me use the marginal distribution of $X$. I think this means that I am not allowed to use the marginal pdf... Is there any other way to do this?
The variance is $\int\int x^{2} f(x,y)dxdy -(\int\int x f(x,y)dxdy)^{2}$. This can be written as $(\int_0^{1} \int_o^{y}x^{2} \frac 1 y dxdy-\int_0^{1} \int_o^{y}x \frac 1 y dxdy)^{2}$. I will leave the rest to you.