solve 3^(log(x^2-5x+7))<1