Need help on this proof!! thanx

Let a, b, and c be distinct real numbers. Show that

<p(x), q(x)> = p(a)q(a) + p(b)q(b) + p(c)q(c)

defines an inner product on P^2.

And the hint is you will need the fact that a polynomial or degree n has at most n zeros.