How does applying a force in the opposite direction with the same magnitude at the same time prevent an object from moving?