The pulley in Fig. $\mathrm{P9} .83$ has radius $R$ and a moment of inertia $I .$ The rope does not slip over the pulley, and the pulley spins on a frictionless axle. The coefficient of kinetic friction between block $A$ and the tabletop is $\mu_{\mathrm{k}}$ . The system is released from rest, and block $B$ descends. Block $A$ has mass $m_{A}$ and block $B$ has mass $m_{B}$ . Use energy methods to calculate the speed of block $B$ as a function of the distance $d$ that it has descended.