Problem Statement:
Suppose that the coordinates of a point $(X, Y)$ are such that $X ∼ U[0, 1)$ and $Y ∼ U[0, 1)$ Compute the probability that the distance from this point to the origin is less than or equal to L. You should consider the two cases when
$0 \leq L \leq 1$ and $1 \leq L \leq \sqrt{2}$
I'm having troubles just trying to set up the density function here because there are so many inequalities. I'm new to stats so this might just be an easy problem that I didn't see