$1.00 for the first 20 minutes and then 10 cents per minute for each minute after the initial 20-minute call. This adjusts the rate to reflect fractions of a minute after the first 20 minutes.

Has to be piecewise function

yes, it is.

Surely you can come up with at least the first piece ...