A building across the street casts a shadow that is 24 feet long. Your friend is 6 feet tall and casts a shadow that is 4 feet long. What is the height of the building?