A discrete random variable X has the probability distribution given as below: (i) Find the value of k (ii) Determine the mean of the distribution.