Solve this word Problem by using truth table.
If Ali is not in class X, then Sara is in class Y.
If Sara is not in class Y, then Ali is in class X.
∴ Ali is not in class X or Sara is not in class Y.
Mathbot Says...
I wasn't able to parse your question, but the HE.NET team is hard at work making me smarter.