Solve for x in terms of n,A,B,C of log_b (A) + log_b (B) - l