for the thin homogeneous wire shown, determine the x coordinate of its centroid using the "method of parts".