Use log properties to condense into a single logarithm: 3\gA−\gB3\g A - \g B3\gA−\gB.
\g\acA3B\g \ac{A^3}{B}\g\acA3B
\g(A3−B)\g (A^3 - B)\g(A3−B)
\g(3A/B)\g (3A/B)\g(3A/B)
\ac\gA3\gB\ac{\g A^3}{\g B}\ac\gA3\gB