It is a typo. You don't know the values of x - that's what you're trying to find! It should be as you mention. It looks like your application of the trapezoidal rule is fine. Just turn the crank on the 3 x 3 system of equations.

Nice little problem, by the way.