There are * * * C52= 10 ways to choose 2 balls from 2+3=5 balls (note: C is the mathematical symbol of the mathematical arrangement and combination part, 5 is located in the lower right corner of C, and 2 is located in the upper right corner of C).
There are six situations when two balls are taken out: C2 1 * C3 1 =
So the probability that two balls are red and white is 6/ 10=3/5.
Two balls of the same color are c22+c32=4.
So the probability that two balls are the same color is 4/ 10=2/5.
I hope it helps you.