f(x) = 5 / x
g(x) = If[1 ≤ x ≤ 5, f(x)]