You can do this either via F or jacobians.

X and Y are independent, but that isn't of any help here.

If you want to go cdf route then....

and you now need to draw the line x+2y=a and see how it slices through the unit square.

The region of interest will be below that line, in other words,

between the origin and that line.