Y joins the work after 4 days, and X and Y work together until the completion of the task.