Janice earns a 10% bonus based oh her annual salary plus the number of sales she makes. She made 250 sales and earned a 5,000 bonus last year. Write and solve an equation to find her salary last year.