k = 1 (slider from 0 to 1, step 0.01)
f(x) = (k * x)
g(x) = 1 / x^(2)
x_{0} = 1 (slider from 0 to 9)
G(x) = If[x < x_{0}, f(x), g(x)]