1. Solution. The original equation is equivalent to $(3 x-1)(y+1)=1007$. It remains to note that $1007=19 \cdot 53$, and by checking the integer divisors solve the equation.
Answer: $x=18, y=18$ (in the variant $3-2: x=12, y=18$ ).