For part (a), the probability that a randomly selected student would say that it is easier to make friends with the opposite sex will be equal to the total number in the opposite sex column divided by the total number of respondents.
Thus, the probability is as follows:
For part (b), the proportion of male students who answered that it is easier to make friends with the opposite sex is equal to the number of males under the opposite sex column divided by the total number of respondents under the opposite sex column.
Thus, the proportion is as follows: