Final answer:
The cat and the dog will have equal weights 4 years from now.
Step-by-step explanation:
To find when the cat and the dog will have equal weights, we need to set up an equation. Let x represent the number of years. The equation for the cat's weight is 16 + 2x, and the equation for the dog's weight is 4 + 5x. We need to find the value of x when the cat's weight is equal to the dog's weight, so we set up the equation:
16 + 2x = 4 + 5x
Subtracting 2x from both sides, we get:
16 = 4 + 3x
Subtracting 4 from both sides, we get:
12 = 3x
Dividing both sides by 3, we get:
x = 4
So the cat and the dog will have equal weights 4 years from now.