Solve exponential equations using logarithms: base-2 and other bases