Given:

As we can see that (x-1)≤0 when 0≤x≤1 and (x-1)≥0 when 1≤x≤4









18
1