Let f(x) = 2x-3 and g(x) = x+1. What is the value of g(f(5)-1)?
f(x) = 2x - 3
f(5) = 2(5) - 3
f(5) = 7
g( f(5) - 1 ) = g( 7 - 1 ) = g(6)
g(x) = x + 1
g(6) = 6 + 1
g(6) = 7
Altogether...
g( f(5) - 1 ) = g( 7 - 1 ) = g(6) = 7