Let f(x)=6x^2-31x+5f(x)=6x2−31x+5
Then, f(5)=6*25-31*5+5=150-155+5=0f(5)=6⋅25−31⋅5+5=150−155+5=0
The remainder is 00, so f(x)f(x) is divisible by (x-5)(x−5)
Let's do a long division
color(white)(aaaa)aaaa6x^2-31x+56x2−31x+5color(white)(aaaa)aaaa∣∣x-5x−5
color(white)(aaaa)aaaa6x^2-30x6x2−30xcolor(white)(aaaaaaaa)aaaaaaaa∣∣6x-16x−1
color(white)(aaaaaa)aaaaaa0-x+50−x+5
color(white)(aaaaaaaa)aaaaaaaa-x+5−x+5
color(white)(aaaaaaaa)aaaaaaaa-0+0−0+0
Now, we can factorise the numerator
6x^2-31x+5=(6x-1)(x-5)6x2−31x+5=(6x−1)(x−5)
Then,
(6x^2-31x+5)/(x-5)=((6x-1)cancel(x-5))/cancel(x-5)=(6x-1)