What does x represent in this question 3x+-5=2x-12

x represents whatever it was defined as in the particular question.

Without knowing what the question was, I cannot tell

Did you mean "solve for x" ?
then....
3x + 5 = 2x - 12
3x - 2x = -12 - 5
x = -17