A man paid $101 for 2 pairs of trousers and 3 shirts . He found that 7 pairs of trousers and 3 shirts would cost $331. Find the cost of a pair of trousers and a shirt