We start with the equation:
\[ 22 = \frac{b}{2} - 2 \]
To eliminate the constant term on the right side, add 2 to both sides:
\[ 22 + 2 = \frac{b}{2} \]
This simplifies to:
\[ 24 = \frac{b}{2} \]
Next, to solve for \(b\), multiply both sides by 2:
\[ 24 \times 2 = b \]
This gives:
\[ b = 48 \]
Thus, the solution for \(b\) is:
\[ \boxed{48} \]