Your school principal wants the custodian to put a new flag up on the flagpole. If the flagpole is 40 feet tall and they have a 50 foot ladder, approximately how far from the base of the pole can he place the base of his ladder in order to accomplish the task?