Does anyone know of a non-trivial (i.e. cardinality $\geq 2)$ algebraic structure $(X,+,-)$ satisfying the following identities?
$(x+a)-a=x$
$(x-a)+a=x$
$(x+y)+a = (x+a)+(y+a)$
$(x-y)+a = (x+a)-(y+a)$
Remark. The Abelian group of order $2$ doesn't satisfy the last two conditions.
Motivation. I think its cool that if $X$ is such an algebraic structure, then for every $a \in X$, the functions $$x \mapsto x+a, \qquad x \mapsto x-a$$
are automorphism of $X$. This mean that if $a \in X$ and $f \in \mathrm{Aut}(X)$, then $f+a \in \mathrm{Aut}(X)$ and $f-a \in \mathrm{Aut}(X).$
Instead of $+$ and $-$, let us use $\tilde{+}$ and $\tilde{-}$ as the algebraic operations we wish to invent.
Let $\mathcal{D} = \{\; a + b \epsilon : a, b \in \mathbb{R} \;\}$ be the the set of dual numbers over $\mathbb{R}$. i.e. the algebra extending $\mathbb{R}$ by adjoining one new element $\epsilon$ with the property $\epsilon^2 = 0$. Now define binary operations $\tilde{+}$ and $\tilde{-}$ on $\mathcal{D}$ by
$$\begin{align} ( a + b\epsilon)\;\tilde{+}\;(c + d\epsilon ) &\;\stackrel{def}{=} (a + b\epsilon) + (c + d\epsilon)\epsilon = a + (b + c)\epsilon\\ ( a + b\epsilon)\;\tilde{-}\; (c + d\epsilon ) &\;\stackrel{def}{=} (a + b\epsilon) - (c + d\epsilon)\epsilon = a + (b - c)\epsilon \end{align}$$
It is easy to check
As a result, $( \mathcal{D}, \tilde{+}, \tilde{-} )$ is a non-trivial example for the algebra structure you are seeking.