The number in the middle of the first triangle is found with the folowing calculation: 240 / 20 / 4 = 3
The number in the middle of the second triangle is found with the folowing calculation: : 288 / 24 / 6 = 2
Therefore the question mark should be replaced with the number: 24