It's the factor $0.6^2$ that takes into account the possibility of prisoners escaping before the third day. On each day, the probability of a prisoner escaping is $0.4$, so the probability of the prisoner staying is $0.6$, and this is squared because there are two days before the third day on which the prisoner might escape.