The square of a number is equal to 10 less than 7 times that number. What are the two possible solutions?

Which of the following equations is used in the process of solving this problem?

x^2 - 7x + 70 = 0
x^2 - 7x + 10 = 0