Joanne bought a $100 dollar tennis racket and hourly lessons she will be charged $40 per hour of lessons. Part A: Write an equation that models her expenses. Part B: If Joanne is prepared to spend $300, how many hours of tennis lessons can she afford? Show your work.