Distance between two points A and B is 100km. Two cars starts from A and B at the same time and in same direction. They meet after 5hrs,then form a linear equation in two variables which shows the differences of distances covered by both the cars.

5a - 5b = 100

X=60kmph

Y=40kmph

To solve this problem, let's first assign variables to the unknowns in the problem.

Let the distance covered by the first car be represented by 'x' km.
Then, the distance covered by the second car would be '100 - x' km (as they both meet after 5hrs and cover a total distance of 100km).

Next, let's calculate the speed of each car. This problem assumes that the speed of both cars remains constant throughout the journey.

Since we know that speed = distance/time, we can determine the speeds of the two cars.

Let the speed of the first car be represented by 's1' km/h.
The speed of the second car would be 's2' km/h (since both cars start at the same time and meet after 5hrs).

Now, we have the following equation for the distance covered by the first car:
Distance = Speed * Time
x = s1 * 5

Similarly, the equation for the distance covered by the second car can be written as:
100 - x = s2 *5

To form a linear equation in two variables based on the difference of distances covered by both cars, we subtract the second equation from the first:
x - (100 - x) = s1*5 - s2*5

Simplifying the equation further, we have:
2x - 100 = (s1 - s2)*5

Therefore, the linear equation in two variables that represents the differences in distances covered by the two cars is:
2x - 100 = 5(s1 - s2)