State a procedure for generating a random sample from each of the following distributions using the inverse transformation method. Use the procedure in section 5.6 as a guide

e. Discrete distribution
F(x) = 0.1, x = 1
= 0.4, x = 2
= 0.6, x = 3
= 0.9, x = 4
= 1.0, x = 5