The problem is the following (Velleman's exercise 3.2.10):
Suppose that $x$ and $y$ are real numbers. Prove that if $x \neq 0$, then if $ y = \frac{3x^2+2y}{x^2+2}$ then $y=3$.
My approach so far: Suppose $x \neq 0$. Suppose $ y = \frac{3x^2+2y}{x^2+2}$. Suppose $y \neq 3$. Suppose $y=4$. Then $4x^2=3x^2 \iff x=0$. Contradiction to $x \neq 0$.
Is it correct? I am a noob so feel free to bash it as good as you can. Thanks in advance.