\[2(x - 2) - 1 = 5(x - 2) - 7\]
\[2x - 4 - 1 = 5x - 10 - 7\]
\[2x - 5x = - 17 + 5\]
\[- 3x = - 12\]
\[x = 4.\]