You buy a container of cat litter for $12.25 and a bag of cat food for x dollars. The total purchase is $19.08, which includes 6% sales tax. Write and solve an equation to find the cost of the cat food. PLEASE include an equation and explain how you did it, with details.
12.25+x (0.06) = $19.08
$19.08 x 0.06 = $1.1448 (amount of sales tax)
now subtract the sales tax from the total amount
$19.08 – $1.1448 = $17.9352
$17.9352-$12.25 (cat litter) = $5.69 (cat food)