I am given the set of equations:
$$ \dot{x} = 5x + 2y, \hspace{2mm} \dot{y} = -17x - 5y $$
so the relevant matrix is $$ A =\begin{pmatrix} 5 & 2 \\ -17 & -5 \end{pmatrix} $$ Now I have found the eigenvalues and eigenvectors to be $$ \lambda_{1,2} = \pm 3i \\ v_1 = \left(1, \hspace{2mm} \frac{1}{2}(3i-5) \right), \hspace{2mm} v_2 = \left(1, \hspace{2mm} -\frac{1}{2}(3i+5)\right) $$
but now I'm required to draw a phase portrait, but I don't know how to determine the axes of the ellipse that this describes.
For $\lambda=3i$ an eigenvector is $$\begin{bmatrix}-2\\5-3i\end{bmatrix}$$. If we let $$P=\begin{bmatrix}-2&0\\5&3\end{bmatrix}$$ and let $$\begin{bmatrix}x\\y\end{bmatrix}=P\begin{bmatrix}u_1\\u_2\end{bmatrix}$$we have $$\begin{bmatrix}\dot{u_1}\\\dot{u_2}\end{bmatrix}=\begin{bmatrix}0&-3\\3&0\end{bmatrix}\begin{bmatrix}u_1\\u_2\end{bmatrix}$$ Thus $u_1=K\sin(3t),u_2=-K\cos(3t)$ so $$u_1^2+u_2^2=K^2$$ $$\begin{bmatrix}u_1\\u_2\end{bmatrix}=\frac{-1}{6}\begin{bmatrix}3&0\\-5&-2\end{bmatrix}\begin{bmatrix}x\\y\end{bmatrix}$$ $$(3x)^2+(-5x-2y)^2=C$$ $$34x^2+20xy+4y^2=C$$ $$17x^2+10xy+2y^2=C'$$ Rotate the ellipse into standard position by $$\begin{bmatrix}x\\y\end{bmatrix}=\begin{bmatrix}\cos \theta& -\sin \theta\\\sin \theta & \cos \theta\end{bmatrix}\begin{bmatrix}x'\\y'\end{bmatrix}$$ where $\tan (2\theta)=\frac{10}{17-2}=\frac{2}{3}$ and you should have no problem with the axes.