**Solution:** There were 175 - 35 = 140 rubies in the treasure chest. There were 140 x 2 = 280 emeralds in the treasure chest. So, the total number of gems in the treasure chest is 175 + 140 + 280 = [595].