I was helping someone with this problem and I thought you could only simplify it and nothing more. Is it possible to find values of a and b?

The only way I could think of solving it was equating it as

and and then solving for a and b.

But that seem highly dubious.

Can anyone tell me if this method is correct?

Thank you in advance.