Differential equations

Solve the system of differential equations

 \ddot y_1 = -2y_1+y_2 \\ \ddot y_2 = y_1-2y_2

where y_i = y_i(t).