How to multiply two logarithms of the same base

How to multiply two logarithms of the same base

logaN*logaM=logaM+N
(logaN)^2=loga2N