Suppose that is f a function and f^{-1} is the inverse of f. If f(3) = 4, f(5) = 1, and f(2) = 5, evaluate $f(5) + f^{-1}(4)$.
Because \(f^{-1}(f(x)) = x\), \(f^{-1}(f(3)) = 4\), simplifying to \(f^{-1}(4) = 3\).
Thus, \(f(5) + f^{-1}(4) = 1+3 = 4\).
The answer is 4.