Yes it is a simple linear relationship. Say you take the test shot with a 80mm lens and assumed that this lens has a wide enough angle of view to include everything you want and more. And then when you have the shot everything in the shot will be bigger in length proportion to the longer focal length you are going to use.