How is log(base(x))x^m-1=1

My Answer Key says m-1+1=0 but I don't understand that solution

Sorry it's equal to m