On the time to reach a given level of a linearly increasing process with the intervention of chance