Let the speed of train = x km/hr and speed of car= y km/hr

__Case 1__

Distance travelled by train = 160 Km

Distance travelled by car = 760-160 = 600

kmTime taken by train = 160/x hr

Time taken by car = 600/y hr

Total time taken = 160/x+600/y hr160/x+600/y = 8 --------------- __Equation 1__

__Case 2__

Distance travelled by train = 240 Km

Distance travelled by car = 760-240 = 520 km

Time taken by train = 240/x hr

Time taken by car = 520/y hr

Total time taken = 240/x+520/y hr 240/x+520/y = 8+12/60 (12 minutes=12/60 hr)

240/x+520/y = 41/5 --------------- __ Equation 2__

Multiply equation 1 by 3 and equation 2 by 2 and subtract equation 2 from equation 1

1800/y-1040/y = 24-82/5

760/y = 38/5

y = (760X5)/38

= 100

Putting y = 100 in equation 1

160/x+600/100 = 8

x = 80

Speed of Car = 100 km/hr

Speed of train = 80 km/hr