Let the random variables and be the sample mean and variance respectively.

Theorem(there's a proof somewhere in these forums): The random variable follows the t-distribution with n-1 degrees of freedom.

Therefore:

.

Therefore:

.

a. n = 5, . Therefore .....

b. n = 8, Therefore .....