For $|\cdot|_a:\mathbb{Q}\rightarrow\mathbb{R}$, with the property $$|x+y|_a\leq\max\{|x|_a,|y|_a\},$$ define $d:\mathbb{Q}\times\mathbb{Q}\rightarrow\mathbb{R}$ with $d(x,y)=|x+y|_a$.
How do we show that $d(x,z)\leq d(x,y)+d(y,z)$?
We know that $|x+z|_a\leq\max\{|x|_a,|z|_a\}$, but how does this give the claim?