Solution using linear algebra: I suggest the notation $\mathbb{R}^{2}$ instead of $\mathbb{R}\times \mathbb{R}$, but as Arthur pointed out, there is no need to change the notation. Now returning to the problem in your question, note that the $f$ is a linear map and the $\color{blue}{\text{matrix representation}}$ is $$[f]=\begin{pmatrix} 1 & 1\\ 1 & -1 \end{pmatrix}$$ and we can see that $$\det([f])=\det \begin{pmatrix} 1 & 1\\ 1 & -1 \end{pmatrix}=(-1\cdot 1)-(1\cdot 1)=-1-1=-2\not=0.$$
So, $[f]$ is an $\color{blue}{\text{invertible matrix}}$ and therefore $f$ is a $\color{blue}{\text{bijective function}}$.