To solve this, we use the lens formula:
\[\frac{1}{f} = \frac{1}{v} - \frac{1}{u}\]
where \( f \) is the focal length, \( v \) is the image distance, and \( u \) is the object distance.
With magnification \( M = -1 \), and knowing
\[M = \frac{v}{u}\]
we get:
\[v = -u\]
Substitute \( v = -u \) into the lens formula:
\[\frac{1}{f} = \frac{1}{-u} - \frac{1}{u} = -\frac{2}{u}\]
Given \( f = 20 \) cm:
\[\frac{1}{20} = -\frac{2}{u}\]
Solving for \( u \):
\[u = -40 \, {cm}\]
The object distance is 40 cm. The correct answer is option (3).