Try some numerical examples and then just use elementary algebra. You will need to be able to handle algebraic fractions and to do a simple factorisation.