Mr. Wilson wants to park his car in the parking garage. To find the cost he uses the equation D=3H+6 where D represents the total amount in dollars charged for parking a car for H hours if Mr. Wilson spent $30 how many hours did he park in the parking garage