7x^2=8x

x=0, or

7x = 8

If you rearrange terms,

7x^2 - 8x = 0
x(7x-8) = 0