I wonder how to check some simple 1-form or 2-form is exact. For instance, 2-form $w=xdy \wedge dz + ydz \wedge dx − 2zdx \wedge dy$ or 1 form $w=(2x^2y^2+6xy^3)dx + (8x^2y+x^2y^2)dy$.
I know that by definition, if there is an $f$ for which $df=w$, then for the first example, $f$ has to be 1 form, and for the second, $f$ has to be 0 form. But in practice, I am confused how to actually compute and get such $f$.