I have a question for you and thank you in advance for your answers and ideas.

Let us suppose that we have the marginal distributions of two r.v X and Y, and also the law of X-Y (or any measurable/linear function of X and Y).

How could we find the joint distribution f(x,y) (not always unique) of both my r.v?