Plot[{Abs[x-1],Abs[x-2],Abs[x-1]+Abs[x-2]},{x,-1,4}]