Your DE is P(x,y)dx + Q(x,y)dy = 0 and you want to find out if it is exact.
The equation will be exact if [tex]\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}[/tex].
You have P(x,y) = 5x + 4y giving [tex]\frac{\partial P}{\partial y}=4[/tex]
And Q(x,y) = 4x - 8y² giving [tex]\frac{\partial Q}{\partial x} = 4[/tex]
Have a look at http://www.sosmath.com/diffeq/first/exact/exact.html" and see if it helps.