Wei Xun bought 8 pieces of chocolates and 10 lollipops for $17. The average price of a piece of chocolate was S$1. What was the average price of a lollipop?​