We define the variables:
• c = # of cats,
,
• d = # of dogs.
From the statement, we know that:
0. there are twice as many dogs as there are cats,
,
1. there are d = 24 dogs.
From point 1, we have the equation:
![d=2\cdot c\text{.}](https://img.qammunity.org/2023/formulas/mathematics/college/3nvpaxb15u8sg8h6akytr6hkr3r6w8aydb.png)
Replacing the # of dogs d = 24, we have:
![24=2\cdot c\text{.}](https://img.qammunity.org/2023/formulas/mathematics/college/u96qtci2pteowls6z9kfbwsowtbdji7gx7.png)
We solve for c by dividing both sides by 2, we get:
![c=(24)/(2)=12.](https://img.qammunity.org/2023/formulas/mathematics/college/325d46irdr9s22obgvngp07kajv1insst3.png)
Answer
• Equation: ,24 = 2c
,
• Solution:, c = 12