The number in the middle of the first triangle is found with the folowing calculation: 12 / 3 + 20 = 24
The number in the middle of the second triangle is found with the folowing calculation: : 100 / 25 + 30 = 34
Therefore the question mark should be replaced with the number: 34