$X$ and $Y$ are independently distributed $U(0,1)$ random variables (Uniform distribution)
Find the Variance of the random variable
$U = \dfrac{\ln(X)}{( \ln(X)+\ln(1-Y) )}$
I know $-\ln(X)$ follows $\exp(1)$ and $(1-Y)$ is also $U(0,1)$ Therefore it becomes $\exp(1)$ in the numerator and $\text{gamma}(1,2)$ in the denominator. I dont know what to do next.
Write as $$ U=\frac{-\ln X}{-\ln X-\ln (1-Y)} $$ As you noted $-\ln X\sim \exp(1)$ and because $1-Y\sim \text{Unif}(0,1)$ it folows that $-\ln(1-Y)\sim \exp(1)$. Since $-\ln X$ and $-\ln (1-Y)$ are independent it follows that $U\sim \text{Beta}(1,1)$ which is the same as a uniform random variable on $(0,1)$.