the question
Determine the pairs $(x,y)$ of integers with the propriety that $$2x^2-3xy+y+1=0$$
my idea
I tried writing it as a product of terms but got to nothing useful. Then I applied the quadric formula and got that $x_{1,2}=\frac{3y+-\sqrt{9y^2-8y-8}}{4}$ and $x,y$ must be integers which will make $\sqrt{9y^2-8y-8}$ be a rational number so $9y^2-8y-8$ is a square number.
I don't know what to do forward! Hope one of you can help me!