Let $f$ be the following function $$f_a(x)=(x-a)e^{a+2-x}.$$ I have to determine a point where the tangent in this point meet $Oy$ axis in point $A(0,2012)$.
I made $f'(x)=(1-x+a)e^{a+2-x}$. and then equation of tangent:
$y=f(b)+f'(b)(x-b)$ $$y=(b-a)e^{a+2-b}+(1-b+a)e^{a+2-b}(x-b)$$. now I make $y=2012$ and $x=0$ but i don't know how to find $b$.
thanks :)