This problem can be solved by first considering the energy of a photon e = hf. A photon of red light lacks the sufficient energy to free an electron. However a photon of blue light has a higher frequency and thus has a higher energy. This allows for a photon of blue light to free an electron and thus allow for a current to flow when a large number of photons are sent towards the metal.