If a number is chosen at random from the set {x: 4 \(\leq x \leq…