(integrate(3x/4), as x=0...1)+(integrate((3x/4)*(2-x)^2) as x=1...2)