if x is equal to the sum of the integers from 30 to 40 , inclusive , and y is the number of even integers from 30 to 40 , inclusive , what is the value of x + y ?
"sum s = n / 2 { 2 a + ( n - 1 ) d } = 11 / 2 { 2 * 30 + ( 11 - 1 ) * 1 } = 11 * 35 = 385 = x number of even number = ( 40 - 30 ) / 2 + 1 = 6 = y x + y = 385 + 6 = 391 c"
add(multiply(divide(add(30, 40), const_2), add(subtract(40, 30), const_1)), add(divide(subtract(40, 30), const_2), const_1))