Answer:
A) 0.125 m (the image is real)
B) -0.4 m (the image is virtual)
Step-by-step explanation:
For both situations we will use the Lens Equation:
(1)
Where:
is the focal length
is the distance between the object and the lens
is the distance between the image and the lens
Isolating
:
(2)
Knowing this, let's begin with the answers:
A) When

The image is real
B) When

The negative sign indicates the image is virtual