{(x+5)(y-2)=(x+2)(y-1)
{(x-5)(y+5)=(x-3)(y+3)
{xy-2x+5y-10=xy-x+2y-2
{xy+5x-5y-25=xy+3x-3y-9
{-2x+5y-10=-x+2y-2
{5x-5y-25=3x-3y-9
{-x+3y-8=0
{2x-2y-16=0
{x=3y-8
{2(3y-8)-2y-16=0
{x=3y-8
{6y-16-2y-16=0
{x=3y-8
{4y-32=0
{x=3y-8
{y=8
{x=3*8-8
{y=8
{x=16
{y=8
проверка:
{(16+5)(8-2)=(16+2)(8-1)
{(16-5)(8+5)=(16-3)(8+3)
{21*6=18*7
{11*13=13*11
{126=126
{143=143