Proving continuity using gluing lemma

Apply 2) to the closed sets $\{x: \|x\| \leq 1\}$ and $\{x: \|x\| \geq 1\}$ and the functions $x$ and $\frac x {\|x\|^{2}}$.