for what values of x, where a is a positive real number, is |x-a| = |x|-a

why?

x-a = |x|-a for all x>/=0

-x+a = |x|-a for x = 2a
so I get only for x = 2 a