Let for , and write and . The Hecke operator acts on the Fourier expansion by . Since , the primitive relation is . Hence and for . Substituting the argument directly in the Fricke involution gives
Thus, in the basis , put and let be the reversal matrix, . The matrices are
If the exam's rescaling is used, multiply the second matrix by .
Here is an explicit irreducibility argument for the prime-power old block at a bad prime. Any nonzero common invariant complex subspace contains an eigenvector of the restricted . Its eigenvalue is either or zero. If , the -eigenspace is ; containing it gives by reversal, then every by successive powers of . The kernel of is . If instead contains this vector, reversal and give
This is nonzero: the bad-prime eigenvalue of a trivial-character newform satisfies when , and when , whereas . If , the kernel is already , and the same reversal-and-shift argument works. Therefore the block has no nonzero proper subspace invariant under and the Fricke operator, and hence none invariant under the full ring in the question.