Observe that $-1\le x\le 1\implies |x|\le 1\implies \frac1{|x|}\ge 1$, so support of $|Y|$ is $[1,\infty)$.
In other words, support of $Y$ is $(-\infty,-1]\cup [1,\infty)$.
For any continuous random variable $X$, distribution function of $Y=\frac1X$ is
\begin{align}
P(Y\le y)&=P\left(\frac1X\le y,X<0\right)+P\left(\frac1X\le y,X>0\right)
\\&=\begin{cases} P\left(\frac1y\le X<0\right) &,\text{ if }y<0 \\ P(X<0)+ P\left(X\ge \frac1y\right) &,\text{ if }y>0\end{cases}
\end{align}
That is,
$$P(Y\le y)=\begin{cases} P(X<0)-P\left(X\le \frac1y\right) &,\text{ if }y<0 \\ 1 + P(X<0)-P\left(X < \frac1y\right) &,\text{ if }y>0\end{cases}$$
As $P\left(\frac1X\le y\right)=P(X\in A)$ where $A=\left\{x: \frac1x \le y\right\}$, drawing a picture of the region $A$ might help in verifying the calculation.
Now if you carefully find $P\left(X \le \frac1y\right)$ from the distribution function of $X$, you will end up with the answer in your post.
Alternatively, you can find the density of $Y$ directly from the change of variables $y=\frac1x$:
$$f_Y(y)=f_X\left(\frac1y\right)\left|\frac{\mathrm dx}{\mathrm dy}\right|$$