Create a vector using those two points and find the t where z is 0.