If \(x=a+bi\) with \(a,b\) even and \(r=c+di\), then \(rx\) has parts \(ac-bd\) and \(ad+bc\), both even. The sum of two elements of \(I\) also has even parts, so \(I\) is an ideal (in fact \(I=2\mathbb{Z}[i]\)).
An ideal \(I\) of a ring \(R\) is an additive subgroup of \(R\) that absorbs multiplication by elements of \(R\): \(rI \subseteq I\) and \(Ir \subseteq I\) for every \(r \in R\).