Please Help if not the right answer you will get reported if u are wasting this question for points

7a* Consider the distance is x
2/3x = 240
x = 360
The Distance between two points = 360 Km
7b* Consider the average speed at 2/3 distance was V
(45+V)/2 = 54
45+V = 108
V= 108-45= 63km/hr
The average speed for the last 2/3 trip was 63 km/hr