A block of mass m is released on the top of a smooth inclined plane of length x and inclination theta. Horizontal surface is rough. If block comes to rest after moving a distance d on the horizontal surface, then coefficient of friction between block and surface is?