A block is released from rest when the spring is stretched a distance d. If k = 50 N/m, m = 0.50 kg, d = 10 cm, and the coefficient of kinetic friction between the block and the horizontal surface is equal to 0.25, determine the speed of the block when it first passes through the position for which the spring is unstretched.