Notice that
[tex]\left(x-\dfrac1x\right)^2=x^2-2+\dfrac1{x^2}=18-2=16[/tex]
which tells us
[tex]x-\dfrac1x=\pm4[/tex]