Text this: Spectral inequalities involving the sums and products of functions