The number in the middle of the first triangle is found with the folowing calculation: 126 / (5 + 13) = 7
The number in the middle of the second triangle is found with the folowing calculation: 125 / (22 + 3) = 5
Therefore the question mark should be replaced with the number: 3