Answer:
The density function of X is :

Explanation:

For easiness and clarity of expression, the calculations are handwritten and attached as files. The files are broken into bits for easy understanding. Check the six files below for the calculations.