Answer:
There is a 50% probability that at least one roommate is doing homework this Friday night.
Explanation:
This problem can be solved building the Venn Diagram of these probabilities.
I am going to say that P(A) is the probability that the roommate A is doing homework and P(B) is the probability that the roommate B is doing homework.
We have that:

In which P(a) is the probability that only the roommate A is doing homework and
is the probability that both student A and student B are doing homework.
We also have that:

The problem states that
The probability that Roommate A is doing homework on a Friday night is .3. So
.
The probability that Roommate B is doing homework on a Friday night is .4. So

The probability that both roommates are doing homework on a Friday night is .2. So

Find the probability that: At least one roommate is doing homework this Friday night
This is the probability that either only A is doing, either only B, or both. So:

We have that

We have P(A) and
, so we can find P(a)



Also



So:



There is a 50% probability that at least one roommate is doing homework this Friday night.