When an object is placed 3 cm away from a mirror, the image is inverted and half the size of the object. Calculate the focal length of the mirror.
Fig: 1