A parking garage charges ​$2.88 for the first hour and ​$0.50 for each additional hour or part of an hour. What is the maximum length of time tom can park in the garage if he wishes to pay no more than ​$6.88​?