The variables are soon separated writing...
(1)
... and the integration of (1) is immediate...
Kind regards
P.S. In the Thorpie's post is written 'y(t)'... a think it's a trivial mistake and it have to be read as 'y(x)' ...
I'm stuck on this problem, and I can't seem to find another problem similar to it. It seems like it should be easy, but I just can't seem to make it work. (I've only had experience with your typical separable differential equations). I would really appreciate some help!
dy/dx = 2 - y(t)