A convex mirror of focal length 30cm.produces a real and inverted image of magnification 0.5. By how much distance the object should be brought closer to obtain a virtual and erect image of magnification 2?