Ariel bought several bags of caramel candy and taffy. the number of bags of taffy was 5 more than the number bags of candy. taffy bags weigh 8 oz each and caramel bags weigh 16 oz each.the total weight of the bags was 400 oz. how many bags of candy did she buy?

24 c = 360

c = 15
t = 20

Katie works at a coffee shop and as a babysitter. She worked twice as many hours babysitting than she did at the coffee shop last week. She earns \$8/hour at the coffee shop and \$10/hour babysitting and earned a total of $168 last week. How many hours did she work at each job?

Well, let's solve this riddle, shall we?

Let's assume Ariel bought x bags of candy. According to the problem, she bought 5 more bags of taffy than candy, which would be x + 5 bags of taffy.

Now, we know that each bag of taffy weighs 8 oz, and each bag of caramel candy weighs 16 oz. So, the total weight equation becomes:

8(x + 5) + 16x = 400

Let's simplify that:

8x + 40 + 16x = 400

24x + 40 = 400

24x = 360

x = 15

So, Ariel bought 15 bags of candy. That's quite a sweet tooth she has!

To solve this problem, let's assume the number of bags of caramel candy Ariel bought is x.

Given that the number of bags of taffy is 5 more than the number of bags of candy, we can say the number of bags of taffy is x + 5.

Now, the weight of each taffy bag is 8 oz and the weight of each caramel bag is 16 oz.

So, the total weight of the taffy bags would be (x + 5) * 8 oz, and the total weight of the caramel bags would be x * 16 oz.

According to the problem, the total weight of all the bags is 400 oz.

Hence, we can write the equation:

(x * 16 oz) + ((x + 5) * 8 oz) = 400 oz

Now, let's solve this equation to find the value of x, which represents the number of bags of candy Ariel bought.

16x + 8(x + 5) = 400

16x + 8x + 40 = 400

24x + 40 = 400

24x = 400 - 40

24x = 360

x = 360 / 24

x = 15

Therefore, Ariel bought 15 bags of caramel candy.

t = c + 5

8 t + 16 c = 400
=================

8 t - 8 c = 40
8 t + 16c = 400
----------------- subtract

-8 c = -360

c = 45 etc