Here is a classic riddle: Mr. Smith has an apple orchard. He hires his daughter, Lucy, to pick apples and offers her two payment
options:
Option A: $1.50 per bushel of apples picked.
Option B: 1 cent for picking one bushel, 3 cents for picking two bushels, 9 cents for picking three bushels, and so on, with the
amount of money tripling for each additional bushel picked.
Write a function to model each option.