Im trying to verify this theorem for the following line integral

where is the triangle with vertices

I had no problem calculating the right hand side of green's theorem. However im struggling on the left hand side of the theorem.

Im thinking i need to get the line integral in terms of either x or y only ...?