Reaching a point in the Cartesian plane

Two ways of reaching the point C.