I'm not sure how I would show my work for this problem I know the answer is 9...

140 = (n-2)180 / n

The answer is 9 and you can show your work like this:

140=(n-2)180/n
140=(9-2)
140=7 times 180/9
140= 7 times 20
140=140