Let $f(x)$ be a monic polynomial with degree $n$ with distinct zeroes $x_1,x_2,...,x_n$. Let $g(x)$ be any monic polynomial of degree $n-1$. Show that $$\sum_{j=1}^{n}\dfrac{g(x_j)}{f'(x_j)} =1$$
I am totally clueless about how to proceed please give hints or solutions. Thank you.