first you can rewrite $\left|\frac{1}{x}-1\right|$ as $\frac{|x-1|}{|x|}$ and let's say $\delta=\frac{1}{2}$
now: $$|x-1|<\frac{1}{2}\implies-\frac{1}{2}<x-1<\frac{1}{2}\implies \frac{1}{2}<x<\frac{3}{2}\implies \frac{1}{2}<|x|<\frac{3}{2}\\\implies \frac{2}{3}<\frac{1}{|x|}<2$$
now we want to return to the original form:$$\frac{1}{|x|}<2\implies\frac{|x-1|}{|x|}<2|x-1|$$
now lets say that $\delta=\frac{\epsilon}{2}$(try to see why it works yourself), but now we have 2 values for $\delta$, so, we can see that $\delta=\frac{1}{2}$ works for all values of $x$ that are larger than $\frac{1}{2}$, so lets do the following:$$\delta=min\left(\frac{\epsilon}{2},\frac{1}{2}\right)$$
try to do the checking(or The Proof if you want to call it like this) alone.
I'm hoping I'm clear enough, ask if you don't understand something