Text this: The formation of black-hole X-ray transients