Ответ:

1. By eight o'clock yesterday I had done my homework and at eight I was playing the piano.