Let’s see an example Each wall has 6 cats Cat will be in 2 walls = 2 x 6 =12 Therefore there are 12 cats altogether.