Two poles, one 15 meters tall and one 10 meters tall, are 40 meters apart. A length of wire is attached to the top of each pole and it is staked to the ground somewhere between the two poles. Where should the wire be staked so that the minimum amount of wire is used?