Answer
$$
y^{\prime \prime}-2 y^{\prime}+y=0
$$
The general solution of that equation is given by
$$ y=c_{1}t e^{ t} +c_{2} e^{ t} $$
where $ c_{1} $ and $c_{2}$ are arbitrary constants.
Work Step by Step
$$
y^{\prime \prime}-2 y^{\prime}+y=0 \quad\quad\quad \quad (1)
$$
The characteristic equation is
$$
r^{2}-2 r+1=(r-1)^{2}=0,
$$
so $r_{1}=r_{2}=1$. Therefore one solution of Eq. (i) is $y_{1}=e^{t}$ To find the general solution of Eq. (1), we need a second solution that is not a multiple of $y_{1}$. This second solution can be found, by using D’Alembert's method, by replacing $c$ by a function $v(t)$ and then trying to determine $ v(t)$ so that the product $v(t) y_{1}(t) $ is also a solution of Eq. (i).
Now we substitute $ y = v(t)y_{1}(t)$ in Eq. (1) and use the resulting equation to find $v(t)$.
$$ y=v(t) y_{1}(t)=v(t) e^{ t} \quad \quad (2)$$
we have
$$y^{\prime}=v^{\prime}(t) e^{t}+ v(t) e^{ t} \quad \quad (3)$$
and
$$
y^{\prime \prime}=v^{\prime \prime}(t) e^{ t}+2 v^{\prime}(t) e^{t}+ v(t) e^{ t} \quad \quad (4) $$
By substituting the expressions in Eqs. (2), (3), and (4) in Eq. (1) and collecting terms, we obtain
$$v^{\prime \prime}(t)=0 $$
Therefore
$$v(t)=c_{1}t+c_{2} $$
where $ c_{1} $ and $c_{2}$ are arbitrary constants. Finally, substituting for $v(t)$ in Eq. (2), we obtain
$$ y=c_{1}t e^{ t} +c_{2} e^{ t} \quad \quad (5)$$
The second term on the right side of Eq. (5) corresponds to the original solution $y_{1}(t) = e^{t}$, but the first term arises from a second solution, namely, $y_{2}(t) = t e^{t}$. We can verify that these two solutions form a fundamental set by calculating their Wronskian: $W(y_{1}, y_{2})(t)\ne0$
Therefore $y_{1}(t) = e^{t}$, $y_{2}(t) = t e^{t}$ form a fundamental set of solutions of Eq. (1), and the general solution of that equation is
given by
$$ y=c_{1}t e^{ t} +c_{2} e^{ t} $$