pre calculus question please help!?
The kingdom of Logarithms was attacked and overrun by vandals. King Trigonometry and Queen Polynomial were forced to abandon the kingdom, leaving with only their clothes and a cart filled with sacks of gold. In order to leave the kingdom, they had to cross 10 bridges. At each bridge, Trig and Poly had to pay a toll equivalent to half the number of sacks of gold they were carrying plus one more sack. When they crossed the last bridge, all they had left was one sack of gold. How many sacks of gold did they begin with?