Find a formula for a curve of the form $y=e^{-(x-a)^2/b}$ for $b>0$ with a local maximum at $x=2$ and points of inflection at $x=1$ and $x=3$.

$y =$