Random-variable-probability-distribution

Answer attached question