i have not checked your solution in detail, but i would point out that
i think that makes your integral a bit more do-able
b) The profit (X) appears to be
(Note that the minimum value of T is 20, so the minimum value of X is 950)
Start by finding the CDF of X
Assuming my algebra was correct (check!), differentiate to obtain the desity of x.