Find a function [math] whose graph has an x-intercept of 1, a y-intercept of -2, and a tangent line with a slope of -1 at the y-intercept.

[math]

[math]

[math]