In the problem it says 'B' has/used to have a cat. In your solution, 'B' does not have nor ever had a cat. It says 'A' also used to have a cat. That actually contradicts the problem... It says no one used to have the same pet. So maybe it's supposed to say 'B' has/used to have a rat?