3 pairs of jeans and 6 shirts costs 104.25 dollars. The cost of 4 pairs of jeans and 5 shirts is 112.15 dollars. Find the cost of each pair of jeans and each shirt?