Triangle ABC has vertices $A(0, 0)$, $B(0, 3)$ and $C(5, 0)$. A point $P$ inside the triangle is $\sqrt{10}$ units from point $A$ and $\sqrt{13}$ units from point $B$. How many units is $P$ from point $C$? Express your answer in simplest radical form.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Triangle ABC has vertices $A(0, 0)$, $B(0, 3)$ and $C(5, 0)$. A point $P$ inside the triangle is $\sqrt{10}$ units from point $A$ and $\sqrt{13}$ units from point $B$. How many units is $P$ from point $C$? Express your answer in simplest radical form.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
\sqrt{5}
Triangle ABC has vertices $A(0, 0)$, $B(0, 3)$ and $C(5, 0)$. A point $P$ inside the triangle is $\sqrt{10}$ units from point $A$ and $\sqrt{13}$ units from point $B$. How many units is $P$ from point $C$? Express your answer in simplest radical form.
train