(a) From equation of motion, we have
$\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ v = u + gt$
Where $u$ is initial velocity and $t$ is time.
For ball $A,\ v_{A} = u - gt$
For ball $B,\ u_{B} = 0 + gt$
$\therefore Relative\ speed,\ \mathrm{\Delta}\mathbf{v} = \mathbf{v}_{A} - \mathbf{v}_{B}$
$\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ = (u - gt)\widehat{\mathbf{j}} - \left( - gt\widehat{\mathbf{j}} \right) = u\widehat{\mathbf{j}}$