It is known that LG2 = A and Lg3 = B. try to use a and B to represent log125

It is known that LG2 = A and Lg3 = B. try to use a and B to represent log125

Bottom changing formula: log12 5 = lg5 / LG12
lg5=lg(10/2)=lg10-lg2=1-a
lg12=lg(2²×3)=2lg2+lg3=2a+b
The original formula = (1-A) / (2a + b)