The phrase "absolute value of x and then subtract 7" can be expressed as:

With this expression we can calculate the outputs for the given inputs.

The function outputs -5 when the input is -2, then -6 when the input is -1, -7 when the input is 0, -6 when the input is 1 and -5 when the input is 2.