Geometry math question no Guessing and Please show work thank you

Here we have to use the following formula to find the number of sides,n
[tex] S = \frac{(n-2)180}{n} [/tex]
ANd S=135
So we will get
[tex] 135= \frac{(n-2)180}{n} [/tex]
135n = 180n -360
Subtracting 180n to both sides
-45n =-360
Dividing both sides by -45
n = 8 .
So the number of sides =8. And the correct option is B .