Answer:

Explanation:
To find the required probability,
We can split the 40 years of Eric into very small pieces of time dt. Now, If Eric dies at time t and Gary dies before Eric, the probability is :

Hence the probability that Gary dies first is given by :
