

This is a format of my final layout.
Using the formula for area of a triangle, we can determine that the distance is half of the measured time(base) times the measured velocity(height):
d = 1/2*t1*v1 (3)
Substituting (2) into (3), we get that distance is half of measured time multiplied by acceleration due to gravity multiplied by measured time:
d = 1/2*t1*g*t1
d = 1/2*g*t1^2 (4)
Using this formula, we can determine the height of the building by measuring the time.
To increase accuracy, we must also take into account air resistance and speed of sound.
Note. From formula (4) it follows that the measurement of the height of the building is linearly dependent on acceleration due to gravity. On time, however, it is quadratically dependant. This means that it is more important to know exact time than exact acceleration.