Answer: d) 3 hours.
Explanation:
Let x be the required number of hours for which the total fee charged by the companies the same.
Given: Peppy Pets charges a flat fee of $15 plus $3 per hour .
So Total charge = 15+3x ( in dollars)
Happy Hounds charges a flat fee of $21 plus $1 per hour.
So Total charge = 21+x ( in dollars)
When the total charge for both companies are the same, then
![15+3x=21+x\\\\\Rightarrow\ 3x-x=21-15\\\\\Rightarrow\ 2x=6\\\\\Rightarrow\ x=3](https://img.qammunity.org/2021/formulas/mathematics/high-school/9m2d8dg63w2s0ujn7o5j95fqub2did5j0r.png)
Hence, the correct option is d) 3 hours.