Who knows how to do this

Answer:
1) 6
2) 2
3) 11
4) 38
5) 13
6) 14
7) 4
8) 41
Explanation: