chapter 1 - solving linear equations