If the closed curve does not enclose the point z = w then you should know that the integral is equal to zero.

If the closed curve DOES enclose the point z = w, then read Cauchy's integral formula - Wikipedia, the free encyclopedia and apply the appropriate formula.

NB: Try to negotiate an extension on the due date of your assignment due to the circumstances that caused you to miss a month of uni.