The number in the middle of the first triangle is found with the folowing calculation: 31 * 24 + 23 = 767
The number in the middle of the second triangle is found with the folowing calculation: : 1 * 21 + 16 = 37
Therefore the question mark should be replaced with the number: 1