A boat heading out to sea starts at Point A, at a horizontal distance of 1035 feet from a lighthouse/the shore. From the point, the boat’s crew measures the angle of elevation to the lighthouse's beacon light from point to be 8°. At some later time, the crew measures the angle of elevation from point B to be 5°. Find the distance from point A to point B. Round your answer to the nearest foot if necessary.