When two times a number is subtracted from the square of the number, the result is 35. Determine the number(s) algebraically.

The answer is -5 or 7.

For this you have to come up with a equation and solve/simplify from there.

Please help, thank you.