Answer
See Graph Below
Work Step by Step
There is no graph to compare with a transformation, but this is a piecewise function.
When x<0, the function is linear with a slope of -1
When $x\geq 0 $, the function is a line with a slope of 0 and equation y = 1
$f(x) ={x<0: 1-x, x \geq 0: 1}$