If 3^x - 3^(x-1) = 18, then the value of x^x is