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:
[tex]\begin{gathered} P(MS)=\frac{116}{290} \\ \\ \text{ Simplifying:} \\ \\ P(MS)=\frac{58}{145}=\frac{2}{5} \end{gathered}[/tex]There are 40 + 360 = 400 female students, so the probability of selecting one female smoker is:
[tex]\begin{gathered} P(FS)=\frac{40}{360} \\ \\ \text{ Simplifying:} \\ \\ P(FS)=\frac{1}{9} \end{gathered}[/tex]The combined probability of both being smokers is:
[tex]P(MS,FS)=\frac{2}{5}\cdot\frac{1}{9}=\frac{2}{45}[/tex]The required probability is 2/45