plot y=2-3^{-x+1}