Joni and Edgar go shopping. She buys 3 baseballs and 2 baseball bat for 90 dollars. Edgar buys 5 baseballs and 2 bats for 116 dollars. How much does a baseball bat cost?
3x + 2y = 90
5x + 2y = 116 subtract the first equation from the second
2x = 26
x = 26 / 2 = 13 (dollars) = cost of a baseball
3 (13) + 2y = 90
39 + 2y = 90
2 y = 90 - 39
2y = 51
y = 51/2 = 25.50 = cost of a bat in dollars