int func1(int a, int b) { int x, y, r; x = a + b; y = 2*x - b; return x*y; }