When entering a question that has a fraction in it, you must use grouping symbols to be clear about the value.
If this value for f(x) = 3/(-4x - 5), then h(x) = -4x - 5 and g(x) = 3/x. (Putting h INTO g gives f.)
But if f(x) = (3/-4x) - 5, then h(x) = 3/-4x and g(x) = x - 5. (Putting h INTO g gives f.)
But if f(x) = (3/-4)(x - 5), then h(x) = x - 5 and g(x) = (3/-4) x. (Putting h INTO g gives f.)
These are very different answers depending on what the question is really asking.