Find the minimum of the function $y=\sqrt{-x^2+4x+21}+\sqrt{-x^2+3x+10}.$ Find the minimum of the function $$y=\sqrt{-x^2+4x+21}+\sqrt{-x^2+3x+10}.$$

By computer I found $\min_y=3;$ then I will prove $y\ge 3$. After squaring we got $$(x+2)(178-37x)\ge 0\quad \forall -2\le x\le 5.$$
My idea is not beautiful so I need some other solution. Thanks!

Let
\begin{align*}
f_1(x)&=\sqrt{-x^2+4x+21}\\
f_2(x)&=\sqrt{-x^2+3x+10}.
\end{align*}
An examination of the domains of each of these functions separately shows that 
\begin{align*}
\mathcal{D}(f_1)&=[-3,7]\\
\mathcal{D}(f_2)&=[-2,5].
\end{align*}
If we define $f(x)=f_1(x)+f_2(x),$ then the above forces the domain $\mathcal{D}(f)=[-2,5].$ Therefore, we must evaluate the function $f$ at $-2$ and $5$. However, there may be critical points inside the domain. Differentiating $f$ yields
$$f'(x)=\frac{2-x}{\sqrt{-x^2+4x+21}}+\frac{3/2-x}{\sqrt{-x^2+3x+10}}. $$
Setting this equal to zero yields the following:
\begin{align*}
(2-x)\sqrt{-x^2+3x+10}&=(x-3/2)\sqrt{-x^2+4x+21}\\
(2-x)^2(-x^2+3x+10)&=(x-3/2)^2(-x^2+4x+21)\\
&\vdots\\
51x^2-104x+29&=0\\
x&=\frac{29}{17},\;\frac{1}{3},
\end{align*}
both of which are in $\mathcal{D}(f).$ However, plugging $1/3$ into $f'(x)$ shows that we picked up a spurious root by squaring. Evaluating, then, we have
\begin{align*}
f(-2)&=3 \\
f\left(\frac{29}{17}\right)&=6\sqrt{2}\approx 8.49 \\
f(5)&=4.
\end{align*}
This proves that the minimum occurs at $x=-2,$ and has a value of $y=3.$
