Chapter 3 - moving triangle