All of them are correct, but #3 is quite awkward.
It wasn't some other house.1-It was your house which was broken into.
I saw him last night.2-It was last night when I saw him.
A window was broken in your house.3-It was your house the window of which was broken.
I gave the box to Jeff.4-It was to Jeff that I gave the box.
I broke the window of your house.5-It was your house I broke the window of.
- For Teachers