A 3.0 g coin moving to the right at 27.0 cm/s makes an elastic head-on collision with a 20.0 g coin that is initially at rest. After the collision, the 3.0 g coin moves to the left at 12.5 cm/s.

(b) Find the amount of kinetic energy transferred to the 20.0 g coin.

I found part a, the final velocity of the other coin, to be 5.925 cm/s to the right. I know KE=(1/2)(m)(v^2) but which values do I use for m and v?