For magnified erect image: Object is between the optical center and principal focus of a convex lens.
For magnified inverted image: Object is between F and 2F of a convex lens.
The image is formed at a distance of 6.67 cm on the same side as that of the object.