Problem: Produce a sentence that would be considered grammatically acceptable

Answer: What John could do is not visit Sally.

Problem: Produce a sentence that would be considered grammatically unacceptable

Answer: Who did Kim work for and Sandy rely on Mary?

Problem: Produce a sentence that would be considered grammatically unacceptable

Answer:
John wonders where him to go.