Problem: Produce a sentence that would be considered grammatically acceptable

Answer: The boy gave the baby the book.

Problem: Produce a sentence that would be considered grammatically acceptable

Answer: Whom did Matt kiss?

Problem: Produce a sentence that would be considered grammatically unacceptable

Answer:
I brought John a razor with which to shave myself.