Hey TarSha.

Your integral will be adding up all the infinitesimal dm portions of the wire. Try using the projection of the mass at x,y against the the circle centred at (0,0) with radius.

Hint: The projection will be based on the inner product and use the standard parameterization of the circle (sin(t),cos(t))