Suppose $X \sim U(0,1)$ and $Y|X=x \sim U(0,1-x)$. Find the joint distribution of $(X,Y)$ given that $X\le \frac{1}{2}$, $Y\le \frac{1}{2}.$
My attempt:
The pdf of $X$ is $f_{X}(x) = 1$ for $x \in (0,1)$ and the pdf of $Y|X=x$ is $f_{Y|X}(y|x) = \frac{1}{1-x}$ for some $x\in (0,1)$ and $y\in (0,1-x)$.
Hence the (unconditional) joint density function should be $f_{XY}(x,y) = f_{Y|X}(y|x)f_X(x) = \frac{1}{1-x} $ where $x \in (0,1)$ and $y\in (0,1-x)$.
To find the distribution of $(X,Y)$ given the constraint let $A = \{(X,Y): \quad X\le \frac{1}{2} \cap Y\le \frac{1}{2} \}$.
Then, what I am trying to find is (using the CDF method) $$ \begin{align}\mathbb P (X\le x,Y\le y\vert (X,Y)\in A) &= \frac {\mathbb P\biggl(X\le x, Y\le y, X\le \frac 12, Y\le \frac {1}{2}\mathstrut \mathstrut \biggr) }{\mathbb P\Bigl(X\le \frac {1}{2},Y\le \frac 12\mathstrut \mathstrut \Bigr) }\mathstrut \\ &= \frac {\mathbb P\Bigl(X\le \text{min}\Bigl(x, \frac {1}{2}\mathstrut \Bigr), Y\le \text{min}(y, \frac {1}{2})\Bigr) }{\mathbb P(X\le \frac 12, Y\le \frac 12\mathstrut \mathstrut ) }\mathstrut \end{align} $$ at this point I'm not sure how to continue. For $(x,y) \in [0, \frac{1}{2}]^2$ the numerator becomes the (unconditional) CDF of just $(X,Y)$ but for e.g. $x > \frac{1}{2}$ and $y < \frac{1}{2}$ I'm not sure how to identify the distribution/simplify the expression.
Does this figure describe the situation?