In the diagram, a building cast a 35-ft shadow and a flagpole casts an 8-ft shadow. If the the flagpole is 18 ft tall, how tall is the building? Round the the nearest tenth.​