the last result is 40 where the formula is to take the result from the top row and add it to the bottom row, thus: 1+4=5, 2+5=7(5+7=12), 3+6=9, (12+9=21), 8+11=19,(21+19=40)