A boat travels in a straight line for 400 miles per hour for 3 hour, then makes a 35° turn and travels 350 miles per hour for 2
hours. How far is the boat form its starting point?