Let the initial speeds of Sonia and Priyanka be x km/hr and y km/hr. Since they meet after 15 hours, the ratio of the distances they covered is x to y, meaning Sonia covered 15x km and Priyanka covered 15y km before meeting. After meeting, Sonia travels the remaining 15y km at a new speed of (x + 3) km/hr, while Priyanka travels the remaining 15x km at a new speed of (y minus 3) km/hr. Because they arrive at their destinations at the same time, the time taken by Sonia equals the time taken by Priyanka, so 15y divided by (x + 3) equals 15x divided by (y minus 3). We also know the total distance is 645 km, so 15x plus 15y equals 645, which simplifies to x plus y equals 43. Solving these equations yields the initial speeds of 20 km/hr and 23 km/hr.