Show that $X \simeq Y$ implies that $\chi (X)=\chi (Y)$ for $X$ and $Y$ finite CW-complexes
Since $X$ and $Y$ are homotopy equivalent I know we have the maps $f: X \to Y$ and $g:Y \to X$ such that $g \circ f =id_X$ and $f \circ g =id_Y$. How can I apply this to the Euler characteristic to show they are equal?