Dakota bought 2 scarves and 1 hat for $13. Kristina bought 1 scarf and two hats for $14. What was the price for one hat and one scarf?

Respuesta :

Answer:

The price for one hat was $5 and the price for one scarf was $4

Step-by-step explanation:

Let

x ----> the price for one scarf in dollars

y ----> the price for one hat in dollars

we know that

Dakota bought 2 scarves and 1 hat for $13

so

[tex]2x+y=13[/tex] ----> equation A

Kristina bought 1 scarf and two hats for $14

so

[tex]x+2y=14[/tex] ----> equation B

Solve the system by elimination

Multiply by -2 both sides equation B

[tex]-2(x+2y)=-2(14)[/tex]

[tex]-2x-4y=-28[/tex] ----> equation C

Adds equation A and equation C

[tex]2x+y=13\\-2x-4y=-28\\---------\\y-4y=13-28\\-3y=-15\\y=5[/tex]

Find the value of x

substitute the value of y in any equation

equation B

[tex]x+2(5)=14\\x=14-10\\x=4[/tex]

therefore

The price for one hat was $5 and the price for one scarf was $4

Q&A Education