Answer: 6 Cats and 14 Dogs
Explanation:
D + C = 20
D = 2C + 2
So D + C = 20 is the same thing as
C = 20 - D
Plug that into the second equation
D = 2C + 2
D = 2(20-D) + 2
D = 40 - 2D + 2
+2D + 2D
————————
3D = 42
So D = 14 , now plug this into the original equation
D + C = 20
14 + C = 20
C = 6