Roger N. answered 03/26/19
. BE in Civil Engineering . Senior Structural/Civil Engineer
This can be solved by using both expanding and the product rule:
I will first take the first three terms (x-1)(x-2)(x-3) and expand and I would call their product u
I will take the the last two terms (x-4)(x-5) and expand them and I would call their product v
using the product rule for one time only the derivative would be u'v+v'u . eventually you will have to expand the result which will be a polynomial also of probably the fifth degree. I will leave the math for you to do.