SOLUTION
Present the information in diagram

Then the venn diagram becomes
Then take the sum of the and equate to the total in the top of the table.
Hence

Subtract 1010 from both sides, we have

Therefore
The number of that owned neither a cat nor a dog is 50