Let:
Op = Original price = $14.50
r = rate of inflation = 3% = 0.03
After the first year, the cost of the bag of groceries will be:
[tex]\begin{gathered} P1=Or+r\cdot Or \\ P1=14.50+0.03\cdot14.50=14.935 \end{gathered}[/tex]After the 2nd year, the cost will be:
[tex]\begin{gathered} P2=P1+rP1 \\ P2=14.935+0.03\cdot14.935=15.38 \end{gathered}[/tex]