The cost of a ride in a taxi is $2.50 for the first half-mile plus a constant amount per half-mile after that. The sequence below shows the pattern of numbers that appear on the driver's screen.
2.50, 2.75, 3.00. 3.25, 3.50, 3.75
Part A: Write a recursive function that can be used to determine f(x), the cost in dollars, for a ride in the taxi of, x, half-miles.