The Robot Factory is a learning center where children can build robots. The project fee per visit is $18, and each hour of time (x) at the factory costs $6. Jesse goes to the Robot Factory one afternoon, and the total charge for his visit is $33. Write and solve and equation to find the number of hours Jesse spent at the Robot Factory.