Automorphic-twisted summation formulae for pairs of quadratic spaces