3xy-5y+6x=30
3x(y+2)-5y=30
3x(y+2)-5(y+2)=20
(3x-5)(y+2)=20
\(\orbr{\begin{cases}3x-5=\left\{...-2,-1,1,2,4,5,10,20\right\}\\y+2=\left\{-10,-20,20,10,5,4,2,1\right\}\end{cases}}\)\(\Leftrightarrow\)\(\orbr{\begin{cases}x=\frac{5+\left\{...\right\}}{3}=\left\{2,3,5\right\}\\y=\left\{..\right\}-2=\left\{18,3,0\right\}\end{cases}}\)
=>9xy-6x+15y=87
=>3x(3y-2)+15y=87
=>3x(3y-2)+15y-10=77
=>3x(3y-2)+5(3y-2)=77
(3y-2)(3x+5)=77
đến đây bạn tự giải nhé