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