Two integer sum. 1 sum. мато гауса a = 12 * abs(sum(x_i * y_{i+1} - x_{i+1} * y_i)). sum of 2 and 2. sum from 1 to n.