At the same time a 12-foot pole casts an 18-foot shadow, a nearby tree casts a 30-foot shadow. How tall is the tree in feet?