Answer: 8
Step-by-step explanation:
[tex]\frac{180(n-2)}{n}=135\\180(n-2)=135n\\180n-360=135n\\-360=-45n\\n=\boxed{8}[/tex]