The problem begins by stating that 27 students registered for this class. In other words, there were 27 students in the original class. That's the answer to Question 1. Now subtract 2 (male students) from 27: How many students are left still? That's the answer to Question 2.
Please post no more than 1 or 2 questions at a time, and please show your own work (or ask questions), so that you will be involved in the solution.