(r/2)^2 = (s/2)^2 + (s (1 + t/2))^2, t = tan(pi/2 - pi/n), solve for s