x^2+5xy+30
=(x^2+5xy-6x)+(6x+30y)
=x(x+5y-6)+6(x+5y)
由于x+5y-6=0;即 x+5y=6
代入上式:得
x×0+6×6
=36
即x^2+5xy+30=36