Let the distance travelled be x km.
Let the total distance be y km.
For the first kilometre, the fare is Rs. 8 + fare for remaining distance, i.e. (x – 1) km.
Rs. 5 for 1 km.
if it travels (x – 1) km … ?
Rs. (x – 1)5
∴ Total cost = Rs. y
Fare for first km + fare for subsequent distance means (x-1) km = Rs. y
8 + (x – 1)5 = y
8 + 5x – 5 = y
8 – 5 + 5x = y
3 + 5x = y
∴ y = 3 + 5x linear equation.