Jack, Ken and Tom shared the cost of a gift. The ratio of Jack's share to the total share of Ken and Tom was 1 : 2. The ratio of Ken's share to the total share of Jack and Tom was 1 : 4. Tom's share was $30 more than Jack's share. How much did the gift cost?