You need to have a specific item both in the frame you *know* is at 105mm and in the frame you want to identify focal length
Assuming you're taking both frames from the same position, measuring pixel height between of the same item in both frames will let you infer the focal length of the second shot by a simple operation described above :
Focal length is x, so hx is height of the item in the frame to be identified. 105 is the shot you know is at 105 and h105 the height in said shot.