For finding an inverse of a simple function, algebraically I can solve for x:
$$ y = 2x+5 \tag{1}\label{1} $$
After moving quantity 2x to the left side, y to right and dividing by -2,
$$ x = {-y+5\over -2} \tag{2}\label{2}$$
The Symbolab app knows this isn't mathematically correct (it moved 5 to the left side, then dividing by 2) as it solves it as $$ x = {y-5\over 2}$$ Why is (2) wrong?