Answer:
Yes
Explanation:
Because -5x and 5x both have the same things in it (a full base number and variable), they are like terms. It doesn't matter that one is a negative and the other is not. It's just matters that everything else is the same.
I hope this helps!