I am trying to find all units in $\mathbb Z[\sqrt{2}]$. Suppose $x=a+b\sqrt{2}$ is a unit. Then there is $y=c+d\sqrt{2}$ such that $$xy=(a+b\sqrt{2})(c+d\sqrt{2})=1$$ So $$ac+2bd+(ad+bc)\sqrt{2}=1$$
From here one deduces $$ad+bc=0,$$$$ac+2bd=1$$
I've tried to find $c$ and $d$ from here or to get restrictions for $x=a+b\sqrt{2}$ but I couldn't. I would appreciate some help.