Ryker goes to the golf driving range every Saturday morning. The cost is a flat fee of $10, plus $2.50 per bucket of golf balls. One Saturday morning, Ryker spent $52.50. Write and solve an equation to find out how many buckets Ryker used.