P

Q

R

f

f(x) = 8 - 0.5 * x^(2)
g = Function(f, 0, 4)
h(x) = 8 - 1.6 * x
p = Function(h, 0, 5)