what is the formula for finding how much money a babysitter would make if her rate was doubled for every hour she worked?

You have 3 dollars. Your mom says that she will double your money for every hour that you babysit your sister. your mom goes shopping at the mall from 9:00 AM to 2:00 PM. Write an equation using function notation that models this situation.