Okay, for someone who didn't catch my question, here the example:
You see a far building (on x distance). The building is 10 meters long. Because of the perspective, the building appears shorter (I called this "apparent length"). So, what is the formula to calculate the "apparent" length of the building from x distance?