Answer: 0.25
Step-by-step 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}\dfrac{1}{2400}\ dy\ dx\\\\=\int^{60}_{0}\dfrac{40-x}{2400}\ dx\\\\=\dfrac{1}{2400}[40x-\dfrac{x^2}{2}]^{60}_{0}\\\\=\dfrac{1}{2400}(2400-\dfrac{3600}{2})=0.25](https://tex.z-dn.net/?f=%5Cint%5E%7B60%7D_%7B0%7D%5Cint%5E%7B40%7D_%7Bx%7Df%28x%2Cy%29%5C%20dy%5C%20dx%5C%5C%5C%5C%3D%5Cint%5E%7B60%7D_%7B0%7D%5Cint%5E%7B40%7D_%7Bx%7D%5Cdfrac%7B1%7D%7B2400%7D%5C%20dy%5C%20dx%5C%5C%5C%5C%3D%5Cint%5E%7B60%7D_%7B0%7D%5Cdfrac%7B40-x%7D%7B2400%7D%5C%20dx%5C%5C%5C%5C%3D%5Cdfrac%7B1%7D%7B2400%7D%5B40x-%5Cdfrac%7Bx%5E2%7D%7B2%7D%5D%5E%7B60%7D_%7B0%7D%5C%5C%5C%5C%3D%5Cdfrac%7B1%7D%7B2400%7D%282400-%5Cdfrac%7B3600%7D%7B2%7D%29%3D0.25)
Hence, the probability that Gary dies first =0.25