When the image formed by a convex lens, inverted and same size as the object, then the distance of the object from the lens is 2f (twice the focal length). Here,
Focal length, f=20 cm
So, `2f= 2 xx 20` cm
=40 cm
Thus, the object should be placed at a distance of 40 cm in front of the convex lens. (Please draw the ray diagram yourself).