X = 3, this is the correct answer because first if you start with combining like terms you would combine the 6x and -5x which would result in X.
Second, your equation bring X+7=10 you then subtract 7 from both sides and the equation that results is X=3.