Since the OP asked for a proof, this may have way more details than are really important...
Although the short version is that this is just a reordering of terms, there is a little bit of subtlety here because of the subtraction. After all, $a - b$ and $b - a$ are most definitely not the same because subtraction is sensitive to order.
But here, we're ok. Recall that $y - x$ is really shorthand for $y + (-x)$, where $(-x)$ is the additive inverse of $x$ (the thing that satisfies $x + (-x) = 0$). So we have
$$y - x = y + (-x) = (-x) + y$$
because addition is commutative. Now we normally don't bother to write the parentheses here, so this is just $-x + y$ as desired.