Let f(x)=-2x+-5 and g(x)=-1x+3. Find (f∘g)(-3).
Note
For a composition, work from the inside to the outside. That means evaluate g(x) first, then use that result as the input of f. Here, Composition means f(g(x)). First g(-3)=-1(-3)+3=6; then f(g(-3))=-2(6)- 5=-17. This is why the final value of (f∘g) is obtained only after the second substitution, not after finding g alone.
