Find the domain of the function f(x) = (x^2 + 3x + 5) / (x^2 – 5x + 4).