Find the missing number in the following grid?

8+3+1=12+1=13 from bottom

13-1-3=9-1=8 from top

5+2+4=11+1=12 from right

12-4-2=6-1=5 from left

Find the missing number ?

6, 2, 17, 1, 4, 11, 3, 7, ?

Find the missing no in the following grid -

2 8 9 3 2 4 3 6 ?