B

A

O

f(x) = (1 - x) * ℯ^(-x)
g = Function(-x + 1, 0, 1)