A building casts a shadow of 40 feet on the ground. A wooden figure of a man is placed on the building and casts a shadow an additional 10 feet beyond the building's shadow. What is the height of the man?\