What is the least value of $x$ for which $\frac{x+2}{3} = \frac{4}{x+1}$?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
What is the least value of $x$ for which $\frac{x+2}{3} = \frac{4}{x+1}$?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
-5
What is the least value of $x$ for which $\frac{x+2}{3} = \frac{4}{x+1}$?
train