.
The distance between them is the hypotenuse of a right-angled triangle with the legs of 3t miles and 4(t-2) miles:
D =
.
The problem asks to find "t" such as
= 8, or, equivalently, 9t^2 + 16*(t-2)^2 = 64.
9t^2 + 16t^2 - 64t + 64 = 64
25t^2 = 64t ====> the only answer is t = 64/25 of an hour after Tommy started his run, or 0.56 of an hour = 33.6 minutes after Zach started his run.