Q7 Chapter 2

Hello, I answered correctly on this one, but I was wondering by row two was 0, 0, -1 . I got the bottom 2 rows right and inferred -1 for the root, but would like more explanation on row 2. Thanks!