Proof (inner product of two permutation characters)

Using $π_X = \# X^g$, $$ \begin{align*} π_{X\times Y}(g) = \# (X \times Y)^g = \# X^g \cdot \# Y^g = π_X(g) \cdot π_Y(g). \end{align*} $$

Moreover $π_Y$ is real, so $$ \begin{align*} \langle π_X, π_Y\rangle = \frac{1}{\#G}\sum_{g\in G} π_X(g) π_Y(g) = \langle π_X π_Y, \mathbb{1}\rangle = \langle π_{X\times Y}, \mathbb{1}\rangle \end{align*} $$ and then apply this result.