A small bar starts sliding down an inclined plane forming an angle $\alpha$ with the horizontal. The friction coefficient depends on the distance $x$ covered as $k=ax$, where $a$ is a constant.