what is the horizontal distance the sub traveled after going 300 meters along its path?

Without additional information, it is impossible to determine the horizontal distance the sub traveled.