I just can't get my head around these line integrals and their difference.

When do I use:

Green's theorem which is

Divergence theorem:

and Stokes theorem which is

Can someone explain clearly when to use each one because to me, all the questions kind of look the same. Anyone know any tricks?