As what Nick L has pointed out, there is a more direct argument, and you can even triangulate the space and use the definition to conclude that cup products are trivial (i.e. vanish).
The subring property is given by Mayer-Vietoris sequence (I think). It induces isomorphisms
$$\eta:H^p(S^n\vee S^n\vee S^{2n})\to H^p(S^n)\oplus H^p(S^n)\oplus H^p(S^{2n})$$
for all $p>0$, so the direct sum (the following) corresponds to the positive dimension of $H^*(S^n\vee S^n\vee S^{2n})$.
$$H^*(S^n\vee S^n\vee S^{2n})\supset\bigoplus_{p>0}(H^p(S^n)\oplus H^p(S^n)\oplus H^p(S^{2n}))$$
Actually, this is already enough for deducing the triviality of cup products.
Edit:
As requested by the OP, I'll elaborate more on this statement. Because we've decomposed the positive dimension part of $H^*(S^n\vee S^n\vee S^{2n})$ into $H^*(S^n)\oplus H^*(S^n)\oplus H^*(S^{2n})$ (the direct sum of three graded polynomial rings), it should be noted that in the definition of graded ring, we have
$$\operatorname{im}(H^k(X)\times H^l(X)\overset{\smile}{\to}H^{k+l}(X))\subset H^{k+l}(X)$$
Now it becomes immediate that the cup product of any two degree $n$ elements vanishes, since $H^{2n}(S^n)\cong 0$ and $H^{2n}(S^n\vee S^n)\cong 0$.
But the idea of subring comes in dimension $0$, the MV sequence for wedge products gives
$$0\to H^0(X\vee Y)\overset{a}{\to}H^0(X)\oplus H^0(Y)\overset{i^*-j^*}{\to}\Bbb{Z}\to\ldots$$
(Apply this twice to your space) So, $H^*(S^n\vee S^n\vee S^{2n})$ contains triads $(\alpha,\beta,\gamma)\in H^0(S^n)\oplus H^0(S^n)\oplus H^0(S^{2n})$ s.t. their restrictions to the $0$-th cocycle are equal, i.e., their images under the pullback of the inclusion $\{*\}\hookrightarrow S^n$ (resp. $S^{2n}$) are equal. And I think this is probably what the proof mean by "subring".
Supplement (Something that I recall from Evan Chen's Napkin project), :)
It can also be concluded from "the cohomology pseudo-ring" consisting of the direct sum of reduced cohomology groups. Now these two graded pseudo-rings
$$\tilde{H}^*(X\vee Y)\cong \tilde{H}^*(X)\oplus \tilde{H}^*(Y)$$
are indeed isomoprhic. Since we also know that the reduced cohomology groups are isomorphic to absolute ones in positive dimensions, this can be passed to the argument of cohomology rings to conclude the triviality of cup products. These two argument actually utilize the same idea to express (part of) the cohomology ring in terms of what we're familiar with.