Instead of computing the retained fraction directly, work out how much mass the sample lost and subtract that from the whole.
The sample started at 500 g and came out at 400 g after two standard wetting and drying cycles, so the mass lost to slaking is:
\[ \Delta m = 500 - 400 = 100 \text{ g} \]As a fraction of the original mass, this loss is:
\[ \frac{100}{500} \times 100 = 20\% \]The Slake Durability Index reports the part of the rock that did not slake away, so it is the complement of this loss:
\[ SDI = 100\% - 20\% = 80\% \]Let's summarize:
So the SDI of the sample works out to 80%, matching option (D).