Hi Ethan,
Since the first ball chosen is replaced, the two draws are independent of one another. So, the probability of getting two red balls is simply the probability of getting a red ball multiplied by the probability of getting a red ball.
The probability of getting a red ball is 4/10, or 0.4, since there are 10 balls total and 4 of them are red.
Therefore, the probability of getting two red balls is (0.4)(0.4) = 0.16 (or 16/100 which reduces to 4/25).
Hope this helps.
JMJ