$f: X \to Y$, $g: Z \to Y$ and $Z$ are appropriate for intersection theory ($X,Y,Z$ are boundaryless oriented manifolds, $X,Z$ is compact, $Z$ is closed submanifold of $Y$, and $\dim X + \dim Z = \dim Y$), $f$ is transversal to $Z$.
(1) If $\triangle$ denotes the diagonal of $Y \times Y$, and $f \times g : X \times Z \to Y \times Y$ is the product map, then $f(x) = g(z)$ precisely at pairs $(x,y)$ in $(f \times g)^{-1}(\triangle)$. Prove $\dim (X \times Z) = \operatorname{codim} \triangle$.
(2) If $f \times g \pitchfork \triangle$, the preimage of $\triangle$ is a zero-dimensional manifold.
(3) The preimage of $\triangle$ is compact.
Jellyfish, you need to pay attention to details yourself! Aren't $X$ and $Z$ complementary dimension in $Y$? Do the arithmetic. No, it doesn't assume transversality of the maps.