Find a formula for the exponential function passing through the points (-3,12\displaystyle \frac{{1}}{{2}}) and (1,8). Use x as your input variable.

y =