On the line given by this intersection: $$\{\alpha x + \beta y + \gamma z = c\}\cap\{x+y+z=1\}.$$ We need to find the closest point to the origin. My attempt: Let's look at $f(x,y,z)=x^2 + y^2 + z^2$, this is the euclidean norm squared. Now, setting the constraints $g_1(x,y,z)=x+y+z-1$ and $g_2(x,y,z)=\alpha x + \beta y + \gamma z - c$. We can denote that the intersection is a compact set since it's closed and blocked. Hence, by Weierstrass theorem we can guarantee that $f$ has minimum and maximum in the intersection above.
Note that $f$,$g_1$ and $g_2$ are $C^1$ functions. In addition, $\nabla g_1=(1,1,1)$ and $\nabla g_2=(\alpha,\beta,\gamma)$ are linearly dependent if and only if $\alpha = \beta = \gamma$.
If they're equal we have two cases: One is $\alpha=c$, in this case the intersection isn't empty iff $\alpha=c=1$ and then we'll get that $(x,y,z)=(\frac{1}{3}, \frac{1}{3},\frac{1}{3})$. The other is that $\alpha \ne c$ and then the intersect is empty and there isn't a point on which we can say it is the closest to the origin since there're no points at all. Under the assumption that at least one of then is different from the rest, we can use Lagrange multiplier theorem and obtain the following: $\nabla f=\lambda_1\nabla$$g_1+\lambda_2\nabla$$g_2$. Denote this equations system: \begin{cases}2x=\lambda_1+\alpha\lambda_2 \\ 2y=\lambda_1+\beta\lambda_2 \\ 2z=\lambda_1+\gamma\lambda_2 \\ x+y+z-1=0 \\ \alpha x + \beta y + \gamma z - c=0\end{cases}. I got stuck here, thanks in advanced!
My first suggestion is to ditch the factors of $2$, but I'll leave them in so as not to confuse you. You should substitute your first three equations into the last two. Let $\alpha+\beta+\gamma = A$ and $\alpha^2+\beta^2+\gamma^2=B$. Then you'll obtain \begin{align*} 3\lambda_1 + A\lambda_2 &= 2,\\ A\lambda_1 + B\lambda_2 &= 2c. \end{align*} By inverting a matrix or using Cramer's rule, you will be almost at the end. Can you take it from here?
(If you know some linear algebra, there are more natural ways to set this up with the matrix $\begin{bmatrix} 1 & a \\ 1 & b \\ 1 & c\end{bmatrix}$.)