Answer: 0.25
Explanation:
Given : The future lifetime of Gary is uniformly distributed with interval [0 years , 60 years].
Then the probability density function for Gary's future lifetime will be:-

The future lifetime of Eric is uniformly distributed with interval [0 years , 40 years].
Then the probability density function for Erin's future lifetime will be:-

Now, the joint density function for Gary and Eric's future lifetime :-
[∵Their future lifetimes are independent. ]
Now, the probability that Gary dies first is given by :-
![\int^(60)_(0)\int^(40)_(x)f(x,y)\ dy\ dx\\\\=\int^(60)_(0)\int^(40)_(x)(1)/(2400)\ dy\ dx\\\\=\int^(60)_(0)(40-x)/(2400)\ dx\\\\=(1)/(2400)[40x-(x^2)/(2)]^(60)_(0)\\\\=(1)/(2400)(2400-(3600)/(2))=0.25](https://img.qammunity.org/2020/formulas/mathematics/high-school/rn73qjz46rxeyoua92ez4j36me091q36g1.png)
Hence, the probability that Gary dies first =0.25