Distribution of Times to Reach a Target State

Compute the PDF, CDF, mean, and variance for the number of steps needed to go from state 1 to state 3:
Probability density function:
Cumulative distribution function:
Mean and variance: