David M. answered 04/21/20
Dave "The Math Whiz"
You have 2 unknowns: the cost of 1 pencil and the cost of 1 pen. Therefore, you will need 2 equations to solve this.
Let x = cost of a pencil
y = cost of a pen
Eq. 1: 24x + 1y = 8.45--->y = 8.45 - 24x
Eq. 2: 16x + 1y = 6.05--->y = 6.05 - 16x
Because the "x" and "y" values are the same for both equations, you can write 1 equation and solve for "x":
8.45 - 24x = 6.05 - 16x set equations equal
8.45 - 6.05 - 24x = 6.05 - 6.05 - 16x subtract 6.05 from both sides
2.40 - 24x = -16x result
2.40 - 24x + 24x = -16x + 24x add 24x to both sides
2.40 = 8x result
2.40/8 = 8x/8 divide both sides by 8
0.30 = x result of "x"
You can now put this value for "x" into either equation and solve for "y":
24x + 1y = 8.45 Eq. 1
y = 8.45 - 24x subtract 24x from both sides to isolate the "y" term
y = 8.45 - 24(0.30) substitute for "y" from above
y = 8.45 - 7.20 simplify
y = 1.25 cost for a pen
Therefore, the cost for a pen is $1.25.
Hope this helps!