The number in the middle of the first triangle is found with the folowing calculation: 24 * 5 + 6 = 126

The number in the middle of the second triangle is found with the folowing calculation: : 16 * 17 + -6 = 266

Therefore the question mark should be replaced with the number: -6