a = 1 (slider from 1 to 5, step 1)
b = 5 (slider from 1 to 5, step 1)
h(x) = 1 / 4 x^(3) - a x^(2) + a^(2) x
f(x) = 1 / 4 x^(3) - b x^(2) + b^(2) x
c = Integral(h(x), 0, (3 a + 3 b) / 2)
d = Integral(f(x), 0, (3 a + 3 b) / 2)