The taxi fare in a city is as follows: For the first kilometre, the fares is Rs.8 and for the subsequent distance it is Rs.5 per km. Taking the distance covered as x km and total fare as Rs. y, write a linear equation for this information.

Total distance covered = *x* km. (Given)

Fair for 1^{st} kilometre = Rs.8 (Given)

Fair for rest distance = ( *x* � 1) 5 (Since, it is given that except for first kilometre, the fare for subsequent distance is Rs 5 per km)

Total fair = 8 + ( *x* � 1) 5

*y* = 8 + 5 *x* �5 (Total fare is given to be y)

*y* = 5 *x* + 3

5 *x* � *y* + 3 = 0

This is the required linear equation.