Solve the equation for x: 9^(x+2)-6*3^(x+1)+1=0