Hi!
When you break the rule for the first time, de probability distribution of X is constant in [0, 2], and is zero outside. If the the value obtained is X = a, then the probability distribution of Y (conditioned on X = a) is constaint in interval [0, a], and zero outside. Then the region in the X-Y plane where the joint density is non-zero is the filled triangle in the figure.