Write a function rule to represent the total distance traveled in miles by a person riding an exercise bicycle, at a rate of 12 mi/h, over a certain amount of time.