I have that given we have 2 distinct eigenvalues for a matrix describing the 2D linear system, then the general solution to the system is:

A(e^lambda1*t)U + B(e^lambda2*t)V, where A,B constants and U,V eigenvectors

How do we derive, or what is the general solution where we have repeated eigenvalues?

Thanks