2
Ben Derrett solves this question (he shows it is generally impossible). Here is a necessary condition for doing what you want: Claim: A necessary condition is that $Cov(X,Y|Z)$ has no dependence on $Z$. Proof: Suppose we have $U_1,U_2$ such that $U_1+U_2=Y$ and $Cov(U_1,X|Z)=0$ for all $Z$. ...