The equation is saying that -3x+10=5x-8. Once you get all the same terms on one side, you get 18=8x. That would end up being a decimal number, instead of a whole number. The x values would either have to be -4x or 6x in order to make the problem equal
Look it up online because you don't have a question
First do distributive property
2x + 10 + 3x = 30
Now combine like terms
5x + 10 = 30
Subtract 10 from both sides
5x = 20
Divide both sides by 5
x = 4
Because Matt is slightly above average, and it was foolish of the teacher to make such a mistake lol