Patrick B. answered 01/14/21
Math and computer tutor/teacher
8t + 5h = 220
5t + h = 112
By substitution:
h = 112 - 5t
8t + 5h = 220
8t + 5(112 - 5t) = 220
8t + 560 - 25t = 220
-17t + 560 =220
-17t = =340
t = 20
then h = 112 - 5t = 112 - 5(20)
= 112 - 100
= 12
hat costs $12; t-shirt costs $20
-----------------------------------------
By Elimination:
Multiplies second equation by -5:
8t + 5h = 220
-5( 5t + h = 112)
Result is:
8t + 5h = 220
-25t + -5h = -560
Adding them together:
-17t = -340
Then t = 20
Per original 1st equation:
8(20) + 5h = 220
160 + 5h = 220
5h = 60
h = 12
(same answers)
-------------------------------
CHECK
8*20 + 5*12 = 160 + 60 = 220
5*20 + 12 = 100+12 = 112
so yes the answers checks