How do you find the product of #(d-1)(5d-4)#?
We have 2 factors which have to be multiplied. Each part of the first bracket has to be multiplied by each part of the second bracket. This is sometimes called the FOIL rule: "Firsts, Outers, Inners, Lasts"
(It is a quadratic trinomial )