This is not an R or RStudio question and appears to be a homework question is statistics. as such it is not appropriate here.
For further information