You probably set the numerators equal and solved the resulting equation as you should. However, you did not check for extraneous solutions.