Q: Valid English sentence (grammatically) or not: Whom did Mary see walking toward the railroad station?

A: acceptable

Q: Valid English sentence (grammatically) or not: Mary always prefers lemons to limes.

A: acceptable

Q: Valid English sentence (grammatically) or not: It's their teaching material that we're using.

A:
acceptable