Nobody said the first example _isn't_ functional. The point is that function composition f(g(x)) is very common in a functional paradigm and many functional languages have added a Pipeline operator as syntactic sugar for this use case.
That you don't recognise that is strange to me, and if after my explanation you can't understand that, I don't know what to tell you.
It's not a problem, don't worry about it you will get there. Enjoy your day!