Grace had $51 when she browsed an on-line store, which sells a pair of green earrings for $9.00 each plus a one-time $6.00 shipping charge. How many pairs of green earrings did Grace purchase? Solve the equation for the situation.