Let Sagar run with a speed of x km/hr
Let Aakash run with a speed of y km/hr
According to the 1st condition,
2x−2y=260
∴1x−1y=160
∴y−xxy=160
∴60(y−x)=xy ...........(1)
According to the 2nd condition,
2y−2−2x+2=260
∴1y−2−1x+2=160
∴x+2−y+2(y−2)(x+2)=160
∴x−y+4xy+2y−2x−4=160
∴60(4−y+x)=xy+2y−2x−4
∴240−60(y−x)=xy−4+2(y−x)
∴244=xy+2(y−x)+60(y−x)
∴244=xy+62(y−x)
∴244=60(y−x)+62(y−x) ........[from (1)]
∴244=122(y−x)
∴y−x=2 ............(2)
∴xy=60×2=120 .........(from 1)
Since, (y+x)2=(y−x)2+4xy
=22+4×120=4+480=484
∴(y+x)2=(22)2
∴y+x=22 ............(3)
Adding equation (2) and (3),
2y=24
∴y=12
Putting y=12 in equation (3),
12+x=22
∴x=10
Sagar ran with a speed of 10 km/hr and Aakash ran with speed of 12 km/hr.