The wording of the problem is not optimal. It should say something like "The probability that among the books she checks out there is at least one fiction book is $0.4$." And so on for the others. With that interpretation, your calculation is right.
To be very formal, let $A$ be the event that she checks out at least one fiction book, and let $B$ be the event she checks out at least one non-fiction book. We want $\Pr(A\cup B)$. We have in general $$\Pr(A\cup B)=\Pr(A)+\Pr(B)-\Pr(A\cap B).$$ Thus in our case we have $\Pr(A\cup B)=0.4+0.4-0.2$.