Construct the cdf for the following discrete random variables and produce a bar plot for each distribution using R Studio.
a) The number of sixes scored when two fair six-sided dice are thrown.
b) The number of heads when three fair coins are tossed.