g(x)=2x - x²

g(x) = 2 * x - x^(2)
k = 1.253 (slider from 0 to 2, step 0.0010)
f_k(x) = k * x
A = Intersect(g, f_k, 2)
B = Intersect(g, f_k, 1)
f(x) = 0.412 * x