Carla's team won 3 of its 5 games. Elena's team won games at the same rate and won 12 games. How many games did Elena's team play?