=>2x(y+7)+y+7=40
=>(y+7)(2x+1)=40
=>\(\left(2x+1;y+7\right)\in\left\{\left(1;40\right);\left(5;8\right);\left(-1;-40\right);\left(-5;-8\right)\right\}\)
=>\(\left(x,y\right)\in\left\{\left(0;36\right);\left(2;1\right);\left(-1;-47\right);\left(-3;-15\right)\right\}\)