Prove that A is a Gramian matrix iff A is symmetric and all of its eigenvalues are nonnegative.

Proof so far:

I know that A = B^tB, but then...