I WILL GIVE BRAINLIEST, THX

The basic rule of algebra is whatever you do on one side, you must do to the other. We have the equation:
[tex] -\frac{1}{2}x + 2 = -x + 7 [/tex]
To clean up the problem, let's subtract 2 from both sides. Since +2 -2 cancels out and +7 - 2 is 5, we are left with:
[tex] -\frac{1}{2}x = -x + 5 [/tex]
Now, since fractions can be messy, we could cancel the 2 in the denominator by multiplying both sides by 2.
[tex] 2(-\frac{1}{2}x) = 2(-x + 5) [/tex]
After doing that, the denominator on the left cancels out, which leaves us with -x on the left and -2x + 10 on the right.
[tex] -x = -2x + 10 [/tex]
Add 2x to both sides. This will cancel the -2x on the right, leaving us with 10 on the right and give us x on the left.
[tex] x = 10 [/tex]
Since x is isolated, the answer is x = 10.