Answer:
1. The problem wasn't fixed by me.
2. The town is protected by the police.
3. John was raised by his mother in a small town.
4. The building was painted by someone last year.
5. Penicillin was discovered by Alexander Fleming in 1928.
6. Grammar is studied by some students on the internet.
7. The window had been broken by someone by 3:00 pm.