Simon, Gabriel and Ryan shared the cost of a souvenir. The ratio of Simon's share to the total share of Gabriel and Ryan was 1 : 2. The ratio of Gabriel's share to the total share of Simon and Ryan was 1 : 6. Ryan's share was $8 more than Simon's share. How much did the souvenir cost?