Answer:
The answers are shown on the picture below...
The reason why the one on the LEFT is 8, is because the right most bottom line says 6, and there is 2 on top of it, that means that it is 8 in total.
And the other one says 3ft, because the bottom most says 5, and the top says 8, that means that this has to be three.