A real image is formed if the rays in a ray diagram cross in front of the mirror. A real image forms where the rays cross. A virtual image is formed if the reflected rays cross when they are extended behind the mirror. A virtual image forms where the extended rays cross.