Answer: 2d + 18 = 36
Explanation:
c = number of cats, d = number of dogs
1. d + c = 36 because there are 36 cats and dogs combined
2. c = d - 18 because there are 18 fewer cats than dogs
3. d + d - 18 = 36 because we inserted the equation of step 2 in the equation of step 1
4. 2d + 18 = 36 is the simplified equation of step 3