Which of the following is the correct factored form of the given equation?
x2 + 3x - 4 = 0
(x - 1)(x + 4) = 0
(x - 1)(x - 4) = 0
(x + 1)(x - 4) = 0
x2 + 3x - 4 = 0
(x - 1)(x + 4) = 0
(x - 1)(x - 4) = 0
(x + 1)(x - 4) = 0