Midpoints and Solving for x