What is the distance between the two intersections of $y=x^2$ and $x+y=1$?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
What is the distance between the two intersections of $y=x^2$ and $x+y=1$?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
\sqrt{10}
What is the distance between the two intersections of $y=x^2$ and $x+y=1$?
train