Even though it's not shown (because it's redundant), x is technically raised to the first power.
So 6x * 6x can be seen as 6x^1 * 6x^1
We know that 6*6 is 36 and when multiplying you add exponents, which means x^1*x^1= x^1+1= x^2.
That's how we get 36x^2.