The angle of elevation from the top of a building to the top of another is 45°.
The distance between the feet of these two buildings is 402 m.
What is the distance between the top of the two buildings?