Let number of sides of a regular polygon = n
∴ Each interior angle =2n−4n right angles
∴ Sum of all interior angles =2n−4n×n right angles
=(2n-4) right angles
But sum of exterior angles = 4 right angles
∴ According to the condition,
(2n−4)=3×4 (in right angles)
2n−4=12⇒2n=12+4=16∴n=162=8
∴ Number of sides of the polygon = 8.