Re-arranging the differential equation yields
Separating,
Taking the integral,
To get rid of the absolute value, note that if y − 2 {\displaystyle y-2} is negative, then we can replace C {\displaystyle C} with − C {\displaystyle -C} . Therefore, for some constant C {\displaystyle C} , we have
which simplifies to