The Point of no Return (PNR) is the furthest distance an aircraft can travel from it's departure point and return to this same departure point with the consumption of all usable fuel except fuel reserves ('Safe Endurance(SE)').
There are many practical applications where the journey out and the journey home have different true air speed values and fuel consumption rates (for example, one engine inoperative on the return journey). Since your question doesn't reference fuel consumption rates I am going to go ahead and assume the same fuel consumption throughout for the purpose of the PNR calculation.
Since we need to return home, the distance out ($d_{1}$) is equal to the distance home ($d_{2}$) so lets just call this $d$
$$d = d_{1} = d_{2}$$
The safe endurance is the total time spent on the journey, that is the time out plus the time home.
$$ SE = t_{1} + t_{2} $$
Furthermore, by rearranging the basic speed equation $ s = \frac{d}{t}$ for time $ t = \frac{d}{s}$ we can say:
$$ SE = \frac{d_{1}}{O} + \frac{d_{2}}{H} $$
Where $O$ is the ground speed for the journey out and $H$ is the ground speed for the journey home.
We already know that $d = d_{1} = d_{2}$ so we can factor out $d$
$$SE = d \left( \frac{1}{O} + \frac{1}{H} \right) $$
And with some basic algebra...
$$SE = d \left( \frac{O+H} {O\cdot H} \right) $$
and multiplying each side by the inverse of the fraction to isolate distance to the PNR.
$$d_{toPNR} = SE \left( \frac{O\cdot H}{O+H} \right) $$
Now lets consider a multi-leg journey
Firstly, consider the endurance to travel leg one (A to B) and return to the departure point (A)
$$Endurance_{A-B-A} = E_{1}= d_{1} \left( \frac{O_{1}+H_{1}} {O_{1}\cdot H_{1}} \right) $$
The remaining SE avaible for the second leg (B-C) is the original (total) SE minus the endurance if the PNR was just leg 1 $E_{1}$ (that is, the endurance for the out and home journey of leg 1).
$$SE_{2} = \left( SE \right)_{Total} - E_{1} $$
Note, If $E_{1} > \left( SE \right)_{Total}$ then the PNR lies within the first leg. If $E_{1} = \left( SE \right)_{Total}$ then B is the PRN point.
$$d_{toPNR from B} = SE_{2} \left( \frac{O_{2}\cdot H_{2}}{O_{2}+H_{2}} \right) $$
You could continue this process for any consecutive legs, by determining at which leg the the PNR endurance elapses the safe endurance.
To convert this into a time to the PNR from the departure, calculate and sum the times for each leg up to the leg on which the PNR occurs. Then calculate time to PNR for that leg (as a single leg question). Again, rearranging the speed equation $ s = \frac{d}{t}$ thus, $t = \frac{d}{s}$
$$t_{toPNR} =\frac{d_{toPNR}}{O}$$
Substituting in the $d_{toPNR}$ equation from earlier:
$$t_{toPNR} = SE \left( \frac{H}{O+H} \right) $$