Use the graph below to find a $\delta \gt 0$ such that $$ 0 \lt \lvert x -2 \rvert \lt \delta \Rightarrow \lvert \frac {1}{x}-0.5\rvert \lt 0.2 $$

Provided answer is $\delta = \frac {4}{7}$
What I have done:
Given $\varepsilon \gt 0, \varepsilon = 0.2$, for $0 \lt \lvert x -2 \rvert \lt \delta \Rightarrow \lvert \frac {1}{x}-0.5\rvert \lt \varepsilon $
$\lvert x-2 \rvert \\= \lvert (x)(1- \frac{2}{x}) \rvert \\= \lvert (-2x)(\frac{1}{x}-0.5) \rvert$
Since $\lvert x-2 \rvert \lt \delta$ and $\lvert \frac {1}{x}-0.5 \rvert \lt 0.2$
$0.2\lvert -2x \rvert \lt \delta$
$\lvert 2x \rvert \lt 5\delta$
$-5\delta \lt 2x \lt 5\delta$
The questions says "use the graph ...". We are looking for a value $\delta$ such that if $2-\delta<x<2+\delta$ then the graph of the function is between $0.3$ and $0.7.$ It is clear that if $$\dfrac{1}{0.7}<x<\dfrac{1}{0.3}$$ then the graph satisfies the conditions. Now $\delta$ is given by the minimum distance from $2$ to $\frac{10}{7}$ and $\frac{10}{3}.$ Since
$$\left|2-\dfrac{10}{7}\right|=\dfrac 47<\dfrac 43=\left|2-\dfrac{10}{3}\right|$$
we get that $\delta =\dfrac 47.$