A building casts a shadow 49 feet long. At the same time, a 42‐foot‐tall flagpole casts a shadow 9.8 feet long. What is the height of the building?

The height of the building is __ ft.
Need help ASAP.