For three points to be collinear, the slope between the first and second points must be equal to the slope between the second and third points. Using the slope formula:
\[
\text{Slope between (1, 2) and (x, -1)} = \frac{-1 - 2}{x - 1} = \frac{-3}{x - 1}
\]
\[
\text{Slope between (x, -1) and (4, 5)} = \frac{5 - (-1)}{4 - x} = \frac{6}{4 - x}
\]
Setting the two slopes equal:
\[
\frac{-3}{x - 1} = \frac{6}{4 - x}
\]
Solving this gives \(x = 1\).
Thus, the correct answer is 1.