I did two problems just now and both had positive answers, while I mistakenly got negative answers.

The first,

I thought it would equal 3x, since x - x = 0 and 0 - 3x = -3x

The other, While I got the opposite answer.

Can anyone explainwhythese answers aren't positive?