X-6-6(x-6)=0
Simplifying, we have...
x - 6 - 6x + 36 = 0
-5x + 30 = 0 subtract 30 from both sides
-5x = -30 divide both sides by -5
x = 6