A converging lens with a focal length of 30 cm is used to create an image of a 2.0 mm long ant. The ant is placed perpendicularly to the optical axis of the lens and the length of the ant is treated as the height(a) If the lens is placed so that the image of the ant is 8mm long, upright, and viewed by looking through the lens, how far away from the ant was the lens placed?
(b) If the lens is placed so that the image of the ant is 8mm long, inverted, and viewed on a screen held some unspecified distance on the other side of the lens to the ant, how far away from the ant was the lens placed?
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
They said to use both ray diagram and the thin lens equation to solve the problems but I'm not sure where to start