Question: Simplifying with extra condition.

I have following expression.
Please Wait...