Explanation:
A fixed value 20P is given as a pay for taxi ride along with extra values of 5P calculated per km. This is the input provided to a taxi meter which is calculating the total cost of taxi ride.
Let the no. of kilometers covered be 'n'.
Then, amount of taxi meter as a function of n will be:

If 1 kilometer is covered, the amount will be 20 + 5(1) P = 25P. For 2 km, the amount will be 20 + 5(2) P = 30P. Similarly for n km, the amount will be 20 + 5(n) P.
~The amount T registered in the taxi's meter as a function of the number of kilometers covered is 20 + 5n.