The number in the middle of the first triangle is found with the folowing calculation: 110 / (27 - 5) = 5
The number in the middle of the second triangle is found with the folowing calculation: 56 / (30 - 2) = 2
Therefore the question mark should be replaced with the number: 30