Answer
The following is the graph of $f$ defined on $\mathbb{R}$ which has a removable discontinuity at $x=-2$ and an infinite discontinuity at $x=2$.
Work Step by Step
The following is the graph of $f$ defined on $\mathbb{R}$ which has a removable discontinuity at $x=-2$ and an infinite discontinuity at $x=2$.