Probability is expressed as
number of favourable outcomes/total number of possible outcomes
Looking at the given scenario, the number os students that earned a grade of A is 5. Since we are concerned with these students, then, the number of favourable outcomes is 5.
The total number of students for all grades is 35. This means that the total number of possible outcomes is 35
Thus, the probability that a student earns a grade of A is
5/35
= 0.14