Let $P$ be a polynomial of degree $n>1$, having n different real roots $x_{1},\dots ,x_n$ and a coefficient $a_n$ with $x^n$ and let $Q$ be a polynomial of degree not greater than $n-1$. Prove that $$ \frac{Q(x)}{P(x)} = \sum_{k=1}^{n} \frac{Q(x_k)}{P'(x_k)(x-x_k)}$$ for $ x \in R$, $x\notin$ {$x_1, \dots, x_n$}.
I have proved that $$P'(x_k)=a_n \prod_{j\not=k}(x_j - x_k)$$ but with that, I haven't got anything.