Use object and image distances to infer which focal length produced the ray geometry. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Use object and image distances to infer focus
Now suppose the object distance is fixed at 30 metres and the image screen is moved. Each screen position implies a different focal length.
f1=u1+v1
Rearrange for focal length
Adding the two reciprocals gives the focal reciprocal. Inverting that sum gives the focal length.
f=u+vuv
Three image positions imply three lenses
Hold object distance and object height fixed at 4 metres. A farther image position requires a longer focal length, and it also increases the magnitude of the signed magnification.