= = in 3*xy*3 replace the second factor 3 by (x+y), based on what is given. Then you can continue this chain of equalities as = + = + xy = + xy = Replace (x+y) by 3 again, based on what is given. Then you can continue = + xy = 27 + xy. That is all that can be done.