Given that dy/dx=a*e^(-x)+1 and that when x=0, dy/dx=3 and y=5, find the value of y when x=2.

I wasn't really sure where to start with this problem ...

So I subbed in x=0 and dy/dx=3 into the derivative to find a, which ended up being a=2.

Then I anti differentiated dy/dx to get y=a*e^(-x)+x.

I subbed in y=5 and x=0 into that equation to find a, which was a=-5.

And then I didn't really know what to do from there.

I don't even know if what I did was necessary to answer the question either.

Thank you so much in advance for your help!