The number in the middle of the first triangle is found with the folowing calculation: (4 + 17) * 8 = 168
The number in the middle of the second triangle is found with the folowing calculation: : (-2 + 24) * 19 = 418
Therefore the question mark should be replaced with the number: 24