We have
and
so the equation is indeed exact. So we want to find a function such that
Integrating both sides of the first equation wrt gives
Differentiating both sides wrt gives
So we have
or
its e I think
I hope it helps=)
Your equation would be y=2x+3