The first one is an equation, not an inequality. Remember that for real x and positive a:

b) First things first:

Since the right hand side is positive then it follows that the left hand side must also be positive, this sets a lower bound of and we do not need to worry about the direction of the inequality changing

This gives and you can solve for x in the normal way.