It's impossible because there are no like terms.
I’m pretty sure it’s
6x-10y+x^2-21
Unless I read it wrong then sorry
Slope intercept form is y = mx + b...ur slope will be in the m position and ur y int will be in the b position
examples : slope = 2 , (1,3)....x = 1 and y = 3
y = mx + b
slope(m) = 2
(1,3)...x = 1 and y = 3
now we sub and find b, the y int
3 = 2(1) + b
3 = 2 + b
3 - 2 = b
1 = b
so in slope intercept form, ur equation is : y = 2x + 1
================
another example : slope = 3 , (-2,-4)
y = mx + b
slope(m) = 3
(-2,-4)...x = -2 and y = -4
now sub and find b, the y int
-4 = 3(-2) + b
-4 = - 6 + b
-4 + 6 = b
2 = b
so ur equation is : y = 3x + 2
Answer: $20
$48/24 = $2 for each candy bar
10 candy bars * $2 = $20