Your total cost C for hiring a garden designer is $200 for an initial consultation plus $45 for each hour H the designer spends drawing plans. If the total cost is $335, how many hours did the garden designer work on the plans?