Greg went to Bed Bath and Beyond to buy Christmas gifts for his family this year. In his first trip he bought 4 candles, 5 wallflowers, and 6 lotions for a total of $123. Greg forgot some people on his list the first time so he makes a second trip and spent $48 to buy 2 candles, 3 wallflowers, and 1 lotion. The price of a lotion is 2 less than 2 times the price of a wallflower. How much does each item cost?

Respuesta :

Answer:

Price of Candle: 12.5

Price Wallflower: 5

Price of Lotion: 8

Step-by-step explanation:

Let cost of a candle = [tex]x[/tex]

Let cost of a wallflower = [tex]y[/tex]

Let cost of a lotion = [tex]z[/tex]

Cost of 4 candles = 4[tex]x[/tex]

Cost of 5 wallflowers = 5[tex]y[/tex]

Cost of 6 lotions = 6[tex]z[/tex]

Cost of 2 candles = 2[tex]x[/tex]

Cost of 3 wallflowers = 3[tex]y[/tex]

Cost of 1 lotion = [tex]z[/tex]

As per question statement:

[tex]4x+5y+6z=123 .... (1)\\2x+3y+z=48 ...... (2)\\z=2y-2 ..... (3)[/tex]

Using equation (3) in (1) and (2), the equations get reduced to :

[tex]\Rightarrow 4x+17y = 135 ..... (4)\\\Rightarrow 2x+5y = 50 ..... (5)[/tex]

Multiplying (5) with 2 and subtracting from equation (1):

[tex]7y = 35\\\Rightarrow y = 5[/tex]

By equation (3):

[tex]\Rightarrow z =8[/tex]

By equation (4):

[tex]\Rightarrow x = 12.5[/tex]

Therefore, the answer is:

Price of Candle: 12.5

Price Wallflower: 5

Price of Lotion: 8