Given the quadratic equation \(x^2 + 3x - 4 = 0\), find the value of \(x\) that minimizes the expression \(\frac{1}{x+1} + \frac{1}{x+2}\). Let's think step by step and output the final answer within \boxed{}.
user