contestada

a straight road is to be built connecting a ranch to a highway which leads to a city. the speed limit on the road is to be 50 km/hr and the speed limit on the highway is 130 km/hr. the ranch is 30 km from the point p on the highway which is the closest point on the highway to the ranch and is 50 km from the city. at what point on the highway should the straight road connect to which allows for the quickest drive from the ranch to the city?