1) по формуле (n-2)*180
где n =12
(12-2)*180=1800
2) по формуле (n-2)*180:n
360:8=45
180-45=135
3)(n-2)*180=3600
n-2=3600:180
n-2=20
n=20+2
n=22 стороны
128-х=89-54
128-х=35
х=128-35
х=93
If (x=>8) and (x=<12) then утро
if (x=>12) and (x=<17) then день
if (x=>17) and (x=<23) then вечер
if (x>23) and (x<8) then ночь
-5/9 - (-2/3) = -5/9 + 2/3 = 1/9