During a sale at the market, steaks sold for $4 and watermelon sold for $3.50. Luca spent $22 and bought a total of 6 steaks and watermelons. How many of each did he buy?

Respuesta :

Answer:

Luca bought 2 steaks and 4 watermelons.

Step-by-step explanation:

During the sale, steaks sold for $4 and watermelon sold for $3.50.

Let the number of steaks Luca bought be represented as x and the number of watermelons Luca bought be represented as y.

Luca spent $22 in total.

That means that the number of steaks that Luca bought multiplied by the price of each steaks plus the number of watermelons that Luca bought multiplied by the price of each watermelon will give $22.

In other words:

(4 * x) + (3.5 * y) = 22__________________(1)

Luca bought a total of 6 steaks and watermelons. This means that:

x + y = 6____________________________(2)

We have two simultaneous equations.

4x + 3.5y = 22 ___________(1)

x + y = 6 _______________(2)

From (2):

x = 6 - y

Putting this back in (1):

4(6 - y) + 3.5y = 22

24 - 4y + 3.5y = 22

24 - 0.5y = 22

=> 24 - 22 = 0.5y

2 = 0.5y

=> y = 2/0.5 = 4

Hence:

x = 6 - 4 = 2

Luca bought 2 steaks and 4 watermelons.