Let x be the number we are trying to find.
We then need to translate the words of the problem into an equation.
Let's break down the translation of the words into sections:
The square of a number. Since x is our number, the square of that number would be x**2
Minus twice the number. Twice the number would be 2*x, minus twice the number would be -2*x
Is: "Is" always translates to "equal" or "="
Four times the number: Four times the number would be 4*x
Putting all the translations together we get:
x**2 - 2*x = 4*x
Adding 4x to both sides of the equation to get a quadratic equation we can solve we get:
x**2 - 6*x = 0
factoring:
x(x - 6) = 0
which means either x= 0 or x-6 = 0
So we have two possible answers 0 and 6.