Answer:
The probability that both of them have done their homework is
.
Explanation:
Consider the provided information.
In a class of 8, there are 3 students who have done their homework.
2 students chosen and we need to find the probability that both of them have done their homework.
The probability that first student have done their homework is:

The probability that second student have done their homework is:

Now the probability that both of them have done their homework is:

Hence, the probability that both of them have done their homework is
.