Solution:
Let the first polygon have 5x sides and the second polygon have 5x sides.
In the second polygon, the number of sides should be 4x.
Angle of an n-sided regular polygon = [(n-2)/n] radian, we know.
Therefore, the angle of the first polygon = [(5x-2)/5x] 180o
Similarly, the angle of the second polygon = [(4x-1)/4x] 180o
Thus, we can write:
Upon cross multiplying we get,
Terefore, the number of sides in the first polygon = 5x = 5(2) = 10
And the number of sides in the second polygon = 4x = 4(2) = 8