Given:
Total number of shirts is, N= 14.
Number of blue shirts is, n(b) = 4.
Number of green shirts is, n(g) = 5.
Number of red shirts is, n(r) = 5.
The objective is to find the probability of randomly selecting a blue shirt or green shirt.
The required probability ca be calculated as,

Hence, the probability of randomly selecting a blue shirt or green shirt is 9/14.