Tanisha and her sister ordered a total of 5 pairs of shoes from a catalog. Each pair cost the same amount. The sisters had to pay $10 for shipping and handling. If their total purchase was $170, how much did each pair of shoes cost?