The pupae stage of a peach tree borer, a pest that is commonly found in rotting peaches and other stone…