The state lottery (which has a 6% lottery tax) offers to pay winnings in 25 annual payments or one lump sum,

sometimes called a cash-out option. This week’s lottery has a jackpot of $30 million and
a cash-out value of $18.2 million. Granted that the odds are highly unlikely one would
win, which option should a winner take—annual payments or a lump sum? Why?
Show work and formulas used.
These are the formulas I am choosing between:
annuity: a1=(1-r^n)/(1-r) where a1 is the original amount (30M or 18.2M), r is the rate (.06), and n is the number of years (25).
or future value: FV=PV(1+i/n)^nt where PV is the present value (30M or 18.2M), i is the rate (.06), n is the number of compounds per year, and t is the time (25).