Given,
The salary for the technician from shop A is $900 per week.
The salary for the technician from shop B is $25 per hour.
The equation for the total pay for shop B is,

Taking the total pay as 900. As, to make the shop A and shop B equal.

Hence, he would have to log 36 hours during a week at Shop B in order to match the salary at Shop A.
Mean = (1+1+2+3+3+3+4+5)/8 = 22/8 = 2.75
answer
mean = 2.75
Slope of a line passing through these two points is
.
Hope this helps.
You simply have to plot the point and draw a line that passes through most of them