This function
Is it differentiable at x = 1 ?

It is not differentiable at x=1 since the slope of the tangent line as x -> 1 from the right is 1 while the slope of the tangent line as x->1 from the left is -1
By definition of absolute value:
[tex]|x - 1| = \begin{cases} x - 1 & \text{if } x \ge 1 \\ -(x-1) & \text{if } x < 1 \end{cases}[/tex]
Then the derivative is
[tex]\dfrac{d|x-1|}{dx} = \begin{cases} 1 & \text{if } x > 1 \\ -1 & \text{if } x < 1\end{cases}[/tex]
but does not exist at [tex]x=1[/tex] because
[tex]\displaystyle \lim_{x\to1^-} f'(x) = -1[/tex]
while
[tex]\displaystyle \lim_{x\to1^+} f'(x) = 1[/tex]
and these limits are not equal, so the derivative is discontinuous and hence [tex]|x-1|[/tex] is not differentiable at [tex]x=1[/tex].