Jenny has six basketball teams, each team needs new shoes for an upcoming tournament, and she spent 630 dollars on all the shoes thus far. Each pair of shoes cost 6 more than last year's pairs of shoes.

How much did last year's shoes cost?