The table below shows the number of students majoring in Biology and Chemistry at a university, and the number of those students who are undergraduates and graduates.
| Biology | Chemistry | |
|---|---|---|
| Undergraduate | 5 | 7 |
| Graduate | 3 | 2 |
A student is to be chosen at random from the Chemistry major. What is the probability that the student is an undergraduate?