I'm trying to understand the following part of this book

I couldn't prove that $aR=\Pi_{i=1}^sRp^{t_i}_i$.
$\subset$ part:
$x\in aR\implies x=ar_1\implies x=up_1^{t_1}...p_s^{t_s}r_1\implies x=(ur_1)p_1^{t_1}...p_s^{t_s}, r_1\in R$, since $R$ is commutative, then $x=(ur_1p_1^{t_1})(1p_2^{t_2})...(1p_s^{t_s}x) \in \Pi_{i=1}^sRp^{t_i}_i$
I need help with the converse.
Thanks a lot