How to Create PUBG style Sniper Zoom Function

I personally think its a dolly zoom. The FOV gets lowered but then the main camera moves away from the scope mesh. There is a relationship between the FOV and the distance behind the target mesh.

Have a look at [this][1]

Here is a screenshot of the formula from Wikipedia:

335611-screenshot-2021-04-11-224843.png