How does the sentence end? See options at the end

James took out the carpet the dog pooped on and laid a mat because the

Available choices:
(a). carpet is clean..
(b). mat is clean..
(b).