The geometric multiplicity (dimension of the eigenspace) of each of the eigenvalues of $A$ equals its algebraic multiplicity (root order of eigenvalue) if and only if the matrix $A$ is diagonalizable (i.e. for $A\in\Bbb K^{n\times n}$ there exists $P,D\in\Bbb K^{n\times n}$, where $P$ is invertible and $D$ is diagonal, such that $P^{-1}AP=D$). Just because the algebraic multiplicity of an eigenvalue is, in this case, equal to $2$, that does not mean that the corresponding geometric multiplicity is also $2$. The general relationship between the two multiplicities is that the algebraic multiplicity is greater than or equal to the geometric multiplicity. Furthermore, equality holds for all eigenvalues if and only if the matrix is diagonalizable.