If x^2- 2x = 0 and x ≠ 0, what is the value of x?
Dividing both sides by x (noting that x ≠ 0), we have x-2=0 and so x=2.
Complete the following task based on the instruction and optional input provided.### Instruction:
If x^2- 2x = 0 and x ≠ 0, what is the value of x?

### Output:
Dividing both sides by x (noting that x ≠ 0), we have x-2=0 and so x=2.