The number of balls in the bag = 3 + 5 = 8.
Out of these 8 balls, one can be chosen in 8 ways.
∴ Total number of elementary events = 8
Since the bag contains 3 red balls, therefore, one red ball can be drawn in 3 ways.
∴ Favourable number of elementary events = 3
Hence, P (getting a red ball)
=Favourable number of elementary eventsTotal number of elementary events=38