^
The pulley makes it so that the second mass exerts a force purely in the x direction, not affecting the normal force. I used left (or down, for the second mass), as the positive direction.
The force exerted by mass m is equal to its mass times gravity, and delta-x equals 2.47 as provided in...