First leg of the trip:
let the time used during the first leg of the trip be x
Speed = 235miles/hr
Since distance = speed * time
distnace = 235x
On the return trip:
Speed = 190miles/hr
The time spent will be 6-x
Distance covered = 190(6-x)
Since the distance covered on both trips are the same hence;
235x = 190(6-x)
Open the paremthesis
235x = 1140-190x
235x + 190x = 1140
425x = 1140
x = 1140/425
x = 2.6824
Calculate the distance;
first leg
distance = 235x
distance = 235(2.6824)
distance = 630.353miles
Returm trip will also be 630.353
Total distance for both trip = 630.353+630.353 = 1260.706miles (to the neareest thousandth)