If a 40 foot telephone pole casts a 34 foot shadow at the same time that a nearby tree casts a 28 foot shadow, how tall is the tree?