You did nothing wrong!
Notice that the equation of the total rent with respect to $x$ is a parabola. That means as $x$ goes from $0$ to $-96.5$, the total rent is increasing. However, our maximum occupancy is $250$ residents, so the rent is maximized at $x=-57$.