Just look at the units on each line, all the way to the left edge of the box, it is on the point -8, and on the right edge it's at 8, so you figure out how far apart those two points are, which is 16
Then for the other side you take the top point 2, and the bottom point -6, and find how far apart they are which is 8