When a 12V lamp is connected to car battery, a current of 3A passes through its filament. Calculate the energy transferred by the lamp in 20s.