Rules for Logrithmic Functions

Can someone explain to me the rules for logrithmic functions so I can solve them. I can’t seem to understand how the rules work when I try to solve for x.