|x-2|=\left\{\begin{array}{ll}x-2,&x\geq 2\vspace{0.5em}\\ 2-x, & x < 2.\end{array}\right.