Salutations!
Let the number be

Your equation would be

Now that we have our equation, lets solve this!
Solve this by keeping the variables aside, and the numbers aside

The sign would change because your are isolating the number


Hope I helped (:
Have a great day!