4. The taxi fare in a city is as follows: For the first kilometre, the fare 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, and draw its graph.
Given: The distance covered as x km and total fare is Rs. y.
Total fare =the fare for first km + the fare of the remaining distance
Putting x=0, we have
Putting x=1, we have
Putting x=2, we have
Hence,(0,3),(1,8) and (2,13) are solutions of equation.
The graph is as shown :