There are:
116 male smoker students (MS)
174 male non-smoker students (MNS)
40 female smoker students (FS)
360 female non-smoker students (FNS)
The selection of two random students, one male, and one female can be done in four different ways:
(MS)(FS) - (MS)(FNS) - (MNS)(FS) - (MNS)(FNS)
We are interested in the probability of the combination (MS)(FS), i.e., both smokers.
There is a total of 116 + 174 = 290 male students, so the probability of selecting one male smoker is:
There are 40 + 360 = 400 female students, so the probability of selecting one female smoker is:
The combined probability of both being smokers is:
The required probability is 2/45