Use Stokes' theorem for both parts, which equates the surface integral of the curl to the line integral along the surface's boundary.
a. The boundary of the hemisphere is the circle [tex]x^2+y^2=9[/tex] in the plane [tex]z=0[/tex], where the curl is [tex]\mathrm{curl}\vec F=2y\,\vec\imath+3\,\vec k[/tex]. Green's theorem applies here, so that
[tex]\displaystyle\iint_S\mathrm{curl}\vec F\cdot\mathrm d\vec S=\int_{\partial S}\vec F\cdot\mathrm d\vec r=3\int_{x^2+y^2=9}\mathrm d\vec r[/tex]
which means the value of the line integral is 3 times the area of the circle, or [tex]27\pi[/tex].
b. The closed sphere has no boundary, so by Stokes' theorem the integral is 0.