A boat has passed directly over a submarine as pictured below. The sub is running at a depth of 588 ft, and the angle of depression from the boat to the sub is 35 degrees. Find the distance, x, from the boat to the submarine.