How do you write an expression for the mass of the residue in terms of x and y?

I give up.