You need to review calculus three change of variables.

Especially the part where these use Jacobians.

You need to make a transformation from to

I did the product of uniforms here this past summer.

If you want Y=X1/(X1+X2) then let W=X1 and find the joint density of Y and W.

Then integrate out the random variable W.