I think some parts of this answer are not easy to understand, so I added some explanations.
The meaning of this answer is
physical block in the question >> should be logical block
logical block in the question >> should be virtual block
If the first (or zeroth) logical block of the file is Z, then the mapping from any virtual block to logical block N is N-Z.