For (n−1) sided regular polygon:
Let measure of each angle is x.
Therefore
(n−1)x=(2(n−1)−4)90∘x=(n−3/n−1)180∘ For (n+1) sided regular polygon: Let measure of each angle is y. Therefore (n+2)y=(2(n+2)−4)90∘y=(n/n+2)180∘
now we have
y−x=6∘
(n/n+2)180∘−(n−3/n−1)180∘=6∘
(n/n+2)−(n−3/n−1)=1/30
30n(n−1)−30(n−3)(n+2)=(n+2)(n−1)
n2+n−182=0
(n−13)(n+14)=0
n=13,−14
Thus, the value of n is 13 .