A number is selected from 5 t0 14 inclusive.what is the probability that it is either an even number or a factor of 40

factors of 40 : 2,4,5,8,10,20

but only 5, 8, 10 fall within our domain

So numbers which are even OR a factor of 40 are:
5,6,8,10,12,14 --> 6 of them
prob(of your event) = 6/10 = 3/5