g(x)=2x - x²

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