We can solve the problem by using the mirror equation:

where
f is the focal length

is the distance of the object from the mirror

is the distance of the image from the mirror
For the sign convention, the focal length is taken as negative for a convex mirror:

and the image is behind the mirror, so virtual, therefore its sign is negative as well:

putting the numbers in the mirror equation, we find the distance of the object from the mirror surface:

So, the distance of the object from the mirror is
