Inactive Tutor answered 10/07/19
Contrast f(x) = 22 versus f(22) -- the former means that the output is going to be 22, while the latter means that the x-value (AKA the input) is going to be 22.
So this means we have the following:
22 = 2(x + 6)
Divide by 2:
22 / 2 = 2(x + 6) / 2
11 = x + 6
Subtract 6 from both sides:
11 - 6 = x + 6 - 6
5 = x
Another way to solve would be to distribute first:
22 = 2(x + 6)
22 = 2x + 12
Subtract 12:
22 - 12 = 2x - 12
10 = 2x
Divide by 2:
10 / 2 = 2x / 2
5 = x