Что сложного?
если в предложение говорится о одном предмете - there was
если о нескольких - there were
1 there was
2 there were
3there was
4there was
5there were
6there were some books (или что было на полках, не видно)
7there were some pillows (например подушки - pillows)
8there was (и что возле стола)