First things first, what is logarithms? Logarithms define by $y = \log_b x$ where $b^y = x$. From this definition,…