Answer:
a)
b)The p value for this case can be founded like this:

Explanation:
We have the following data given:
Number of items (x): 40 30 70 90 50 60 70 40 80 70
Labor (hours) (y): 82 60 139 180 99 119 140 73 157 146
And in order to calculate the correlation coefficient we can use this formula:
For our case we have this:
n=10
So then the correlation coefficient would be r =0.997
Part a
In order to test the hypothesis if the correlation coefficient it's significant we have the following hypothesis:
Null hypothesis:
Alternative hypothesis:
The statistic is gven by:
And is distributed with n-2 degrees of freedom. df=n-2=10-2=8
Part b
The p value for this case can be founded like this:

Is a very low value so we have enough evidence to reject the null hypothesis.