Yes, that is correct so far. The point of asking about "A and B" and "A' and B" is that there are two different ways to get to B- by going through A or by going through A'. The probability of getting to A is 0.3. Once you are there the probability of getting to B is 0.8. The probability of both is (0.3)(0.8)= 0.24. Similarly the probability of going to A' is 0.7 and, once you are there, the probability of going on to B is 0.4 so the probability of "A' and B" is (0.7)(0.4)= 0.28.
That is, P(X and Y)= P(X)P(Y). To finish the problem you need to know that P(X or Y)= P(X)+ P(Y). To get to B you can go through "A and B" or "A' and B".