A particle is released from height S from the surface of the earth. At a certain height its kinetic energy is three times its potential energy. The height from the surface of the earth and the speed of the earth and the speed of the particle at that instant are respectively: