15=2^x

Take natural log of both sides.

therefore

ln(15)=ln(2^x)

move x to the front

ln(15)=x*ln(2)

move ln(2) to the other side

therfore x=ln(15)/ln(2)

write all this down on paper to see it properly.