that is
X ratio y= 1 ratio 2; (x-2) ratio (y-2)=3 to 8.
X=5,y= 10。
So the sum of the internal angles of a regular Pentagon is 540 respectively.
The sum of the internal angles of a regular decagon is 1440.