No, they are not the same.
Here is why:
(Assuming you know the value of y and x and solve.)
In the first one, everything is subtracted from two at the end.
In the second one, since 2 is inside parenthesis lower than y^2, the problem ends with everything being divided by y^2.