I'd write the as : then multiply the whole thing out and write everything as a sum of powers of x Then it's easy to differentiate. Edwin