How does the sentence end? See options at the end

The woman covered the carpet in the living room with a rug, because the

Select from:
(a). carpet was stained.
(b). rug was stained.
(a).