integral from 0 to 1 of sqrt(x) + integral from 1 to 2 of -x+2