Give the standard "f(x)" definition of the function.
Subtract one and then take the absolute value
My answer : f(x)= |x|-1
is it correct?
incorrect. The subtraction takes place first, so
f(x) = |x-1|
Your function is described as
take the absolute value and then subtract 1.