106k views
1 vote
Write and solve an equation for this problem.

Wakaba buys some granola bars at $0.50 each and energy drinks at $2 each for a group hike. She buys twice as many granola bars as energy drinks. If she spends $27 in total, how many granola bars and energy drinks does she buy?


Let x= the number of energy drinks

1 Answer

7 votes

Answer:

Wakaba bought 18 granola bars and 9 energy drinks.

Explanation:

From the information given, you can write the following equations:

0.50x+2y=27 (1)

x=2y (2),where:

x is the number of granola bars

y is the number of energy drinks

You can replace (2) in (1) and solve for y:

0.50(2y)+2y=27

y+2y=27

3y=27

y=27/3

y=9

Now, you can replace the value of y in (2) to find x:

x=2(9)

x=18

According to this, the answer is that Wakaba bought 18 granola bars and 9 energy drinks.

User Kalib Zen
by
5.6k points