use the properties of logarithms to expand the expression.
log^2 7x
log^2 7x