Text this: A first passage problem for three-dimensional diffusion processes