(ASIN(1/2/(1-0.5^2/X^2)^(1/2)))*8+(ASIN(SIN((PI/2-PI/5))*2/2/(1-0.5^2/X^2)^(1/2)))*2=2*PI