Find the mean and variance of the random variable X

Find the mean and variance of the random variable X with probability function or density f(x).

f(x) = k(1 - x2) if -1 ≤ x ≤ 1 and 0 otherwise