For concave mirror:
Ray (1) passing through F after reflection becomes parallel to the principal axis.
Ray (2) passing through center of curvature travels back (retraces its path) i.e. reflected back along its own path.
For convex mirror:
Ray 1 becomes parallel to principal axis.
Ray 2 replaces its path i.e. reflected back along its own path.