The lens is removed from the camera and held at a distance of 4 cm from an ant of length 2mm. what is the length of the ant? (the image distance(v) is 10cm and the focal length was 7.5cm before the lens was removed)

I'm not sure if to treat this problem like a pinhole camera. I'm really confused....please help.