A car agency sells 50% of its inventory of a certain foreign car equipped with side airbags. Let X be the number of cars with side airbags among the next 4 cars sold by the agency.
1) Find a formula for the probability mass function (pmf) of the random variable X.
2) Find and sketch the cumulative distribution function (cdf) of the random variable X.