Let's write "P(R=3)" as shorthand for "probability of exactly 3 rolls". (In a probability class, we'd say that R is the random variable representing number-of-rolls-until-conclusive-result.)
Computing
The hint is, we'll replace "2*P[R=2]" with P(R=2)+P(R=2), and similarly the 3*P(R=3) with the sum of itself three times. This seems to make things messier, but the secret is to organize all the summands in a nice way.
If you thing that helps you, go for it! Otherwise you can continue the hint.