In this problem, you are told to find the probability (or %) that someone owns either a dog, OR a cat. If they own both - then they do in fact own a dog or cat. So the formula is:
dog owners % + cat owners % + both owners %
Aka,
<h3>Answer</h3>
The answer is 46% of people own either a cat or a dog, because 23% + 18% + 5% is 46%.