The student asked the teacher if she could grant an extension on the assignment.
The student asked the teacher if he could grant an extension on the assignment.
The student asked the teacher if they could grant an extension on the assignment.