As pointed out in comments, part (A) is not possible to do by hand unless we introduce the so-called exponential integral function.
The integrals in part (B) however are easy to compute.
The probability that a guinea pig lives over 6 years is
Substitute
Then
On the other hand, the probability that a guinea pig lives for less than 1 year is