Developers from two towns, A and B, want to connect their towns to a highway. To minimize the cost of construction, the developers must find the location for the highway entrance that minimizes the total distance from the two towns to the highway. Let it be as shown. Find both the value of x that solves the developers' problem and the minimum total distance.
What value of x minimizes the total distance?
X = [miles] (Type an integer or simplified fraction)