A train consists of train carriages. One carriage has a seating capacity for passengers. The train passes through stations.
The transportation management sets a base fare of for the first kilometer. And it increases by for each subsequent kilometer.
Suppose Bedu wants to travel from the first station to the th station, which is a distance of km. What is the total fare he has to pay?