During a sale at the market​, steaks sold for ​$3 and watermelons sold for ​$2.50. Luca spent ​$19 and bought a total of 7 steaks and watermelons. How many of each did he ​buy?

Respuesta :

Answer:

He bought 3 steaks and 4 watermelons

Step-by-step explanation:

Let

x -----> the number of steaks bought

y ----> the number of watermelons bought

we know that

[tex]x+y=7[/tex]

[tex]x=7-y[/tex] ----> equation A

[tex]3x+2.50y=19[/tex] ----> equation B

Solve the system of equations by substitution

Substitute equation A in equation B and solve for y

[tex]3(7-y)+2.50y=19[/tex]

[tex]21-3y+2.50y=19[/tex]

[tex]3y-2.50y=21-19[/tex]

[tex]0.50y=2[/tex]

[tex]y=4\ watermelons[/tex]

Find the value of x

[tex]x=7-4=3\ steaks[/tex]

therefore

He bought 3 steaks and 4 watermelons