Remark
It looks like all you want is question 6. If that is the case, there are two ways to do it.
Algebra
First answer
abs(b - 22) = 5 Equate to + 5
b - 22 = 5 Add 22 to both sides.
b = 5 + 22
b = 27
Second Answer
Equate to - 5
b - 22 = -5
b = 22 - 5
b = 17
Method Two
Graph the question
The graph y = abs(b - 22) is shown below in red.
The values of y when y =5 are shown in blue.