Calculus Examples

Solve the Differential Equation f(x)=|x-1|
I am unable to solve this problem.