The Priority is always to parenthesis. It means that in both equations, begin by operating what's inside the parenthesis. Then Subtract what's left.
For the first one you get:



For the second one you get:



Which mean that The 2 equations are not equal, because

Hope this Helps! :D