I don't recognize any tricks here, like using the MGF.
One thing for sure is that and are independent
IF you're going to transform from X,Y to something you should USE Z and something basic like A equal to X or Y OR maybe your A or maybe A squared? BUT not A and B. Try Z and A.