k: 1
f(x) = If[0 ≤ x ≤ k, ((-(2 / k^(2))) * (x - k))]
x_{0} = 1 (slider from -5 to 5)
eq1: x = x_{0}
A = Intersect(f, eq1)