A garment factory completed an order for 500 pairs of pants and was paid $5500. If the factory received $9130 for a second order for pants at the same price, how many pairs of pants were in the second order?