“If $X$, then $Y$ unless $Z$” is represented by which of the following formulae in propositional logic?

https://gateoverflow.in/812/gate2002-1-8