The basic proportion we have to use is:

where

is the distance of the object from the lens (40 mm),

the distance of the image from the lens (120 mm),

the height of the object (70 mm) and

the height of the image (that we have to find). Solving for

we find

so, the height of the image is 210 mm.