The number in the middle of the first triangle is found with the folowing calculation: 58 / (40 - 11) = 2
The number in the middle of the second triangle is found with the folowing calculation: 216 / (34 - 10) = 9
Therefore the question mark should be replaced with the number: 9