The general rule is: avoid ending a sentence with a preposition. I must admit, however, that your sentences are more difficult that they first appear. The following are my interpretations, and I hope our grammar experts and other teachers will take the time to comment.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.