I'm trying to solve this question

and in the solutions they switch the negative sign

I didn't do this and got a slightly different answer ( y = 1 - e^1/2 x as opposed to

) I understand how they got their answer but what tells you that you should switch the signn?