gaokao 2018 Q14

gaokao · China · national-III-science 5 marks Chain Rule Determine parameters from function or curve conditions
The slope of the tangent line to the curve $y = ( ax + 1 ) e ^ { x }$ at the point $( 0,1 )$ is $- 2$. Then $a = $ $\_\_\_\_$.
The slope of the tangent line to the curve $y = ( ax + 1 ) e ^ { x }$ at the point $( 0,1 )$ is $- 2$. Then $a = $ $\_\_\_\_$.