She can take off her panties or stockings, or adjust her stockings, sitting in her chair. I can think of three possibilities: An object is being inserted into some hole (a toy, a suppository ... extremely unlikely assumption at this point in the story); the most likely assumptions are that she has to take a picture of her naked ass or that she has to show the butt to the class and she is preparing an "accidental" upskirt.