若(X+Y)(5-X-Y)-6=0,则X加Y的值为多少?

问题描述:

若(X+Y)(5-X-Y)-6=0,则X加Y的值为多少?

令a=x+y
则a(5-a)-6=0
a²-5a+6=0
(a-2)(a-3)=0
a=2,a=3
所以x+y=2或x+y=3