Solve for S S=(n-2)*180