You can only condense logarithms when they all have the same base. For our problem they all have a base of 2 so we can condense to a single logarithm.
2(log2 5 + log2 p) - 1/2(log2 36)
log2 52 + log2 p2 - log2 361/2 coefficients in front of logarithms are powers to the argument of the logarithms
log2 52(p2) - log2 6 logarithms added together are combined to one and you multiply the arguments
log2 (52p2 / 6) the difference of logarithms are combined to one and you divide the arguments
The answer is log2 (25p2 / 6)