Answer:
75 miles
Explanation:
Let x mph be the cyclist A rate, then x+3 mph is the cyclist B rate.
1. In 1 hour they both traveled x+x+3=2x+3 miles. In 5 hours they traveled
![5(2x+3)=10x+15\ miles.](https://img.qammunity.org/2020/formulas/mathematics/high-school/ax1nimkt5vyxf6rtkq4shn66ee08pgnagt.png)
2. Cyclist A spent
hours to travel 31.8 miles. If the cyclist from B had started moving 30 minutes (1/2 hour) later than the cyclist A, then he spent
hours to travel the rest of the distance. In total they both traveled the whole distance 10x+15 miles, thus
![31.8+\left((31.8)/(x)-(1)/(2)\right)\cdot (x+3)=10x+15](https://img.qammunity.org/2020/formulas/mathematics/high-school/34u7bxrmjgr6m1zbsg84fwti5zs722gyhf.png)
Solve this equation. Multiply it by 2x:
![63.6x+(63.6-x)(x+3)=2x(10x+15)\\ \\63.6x+63.6x+190.8-x^2-3x=20x^2+30x\\ \\-x^2+124.2x+190.8-20x^2-30x=0\\ \\-21x^2+94.2x+190.8=0\\ \\210x^2-942x-1908=0\\ \\35x^2-157x-318=0\\ \\D=(-157)^2-4\cdot 35\cdot (-318)=69169\\ \\x_(1,2)=(-(-157)\pm√(69169))/(2\cdot 35)=(157\pm263)/(70)=-(106)/(70),\ 6](https://img.qammunity.org/2020/formulas/mathematics/high-school/i4b38h6esowj9cuqqli1dsx7nzurlg9m5g.png)
The rate cannot be negative, thus, x=6 mph.
Hence, the distance between cities A and B is
![10\cdot 6+15=60+15=75\ miles.](https://img.qammunity.org/2020/formulas/mathematics/high-school/e3b4uy4u3yi5f0h5ppofwxyi4ol2839eby.png)