I am studying Secret Sharing by looking at the lecture notes here:
https://people.eecs.berkeley.edu/~daw/teaching/cs70-s08/notes/n10.pdf
But I could not understand why the following congruence equation holds in the part where the Lagrange interpolation is calculated on a finite field:
\begin{align*} \frac{(x-4)(x-5)}{2} \equiv 4(x-4)(x-5)\space (mod\space 7) \end{align*}
I would be very grateful if someone could give me a detailed explanation.