Let the speeds (work done per day) of X, Y, and Z be $S_X$, $S_Y$, and $S_Z$, respectively. The total work is considered as 1 unit.
$S_X = S_Y + S_Z \quad (1)$
$S_X + S_Y = 3S_Z \quad (2)$
$S_X + S_Y + S_Z = \frac{1}{15} \quad (3)$
We can solve the system of equations to find the speed of Z ($S_Z$).
$(S_Y + S_Z) + S_Y = 3S_Z$
$2S_Y + S_Z = 3S_Z$
$2S_Y = 2S_Z$
$S_Y = S_Z$
$S_X = S_Z + S_Z$
$S_X = 2S_Z$
$(2S_Z) + S_Z + S_Z = \frac{1}{15}$
$4S_Z = \frac{1}{15}$
$S_Z = \frac{1}{4 \times 15}$
$S_Z = \frac{1}{60}$
The speed of Z ($S_Z$) is $\frac{1}{60}$ of the task per day. The time Z takes to finish the task alone is the reciprocal of its speed.
Time for Z = $\frac{1}{S_Z} = \frac{1}{1/60}$
Time for Z = 60 days.