Solution 1 (direct evaluation):
Here is a sketch of C.

The square consists of four line segments.
- The bottom line segment may be parametrized
r(x)=(x,0), 0≤x≤3. So the line integral along
this segment is
∫03F(r(x))⋅dxdr dx=∫03(0,0)⋅(1,0) dx=0
- The second line segment may be parametrized
r(y)=(3,y), 0≤y≤3. So the line integral along
this segment is
∫03F(r(y))⋅dydr dy=∫03(9y2,6y)⋅(0,1) dy=∫036y dy=27
- The third line segment may be parametrized
r(t)=(3−t,3), 0≤t≤3. So the line integral along
this segment is
∫03F(r(t))⋅dtdr dt=∫03(9(3−t)2,6(3−t))⋅(−1,0) dt=−∫039(3−t)2 dt=−81
- The final line segment may be parametrized
r(t)=(0,3−t), 0≤t≤3. So the line integral along
this segment is
∫03F(r(t))⋅dtdr dt=∫03(0,0)⋅(0,−1) dt=0
The full line integral is
∮CF⋅dr=0+27−81+0=−54
Solution 2 (Green's theorem):
We apply Green's Theorem.
∮Cx2y2dx+2xydy=∫03dx∫03dy [∂x∂(2xy)−∂y∂(x2y2)]=∫03dx∫03dy [2y−2x2y]=∫03dx [9−9x2]=27−9333=−54