The number in the middle of the first triangle is found with the folowing calculation: 37 * 2 - 27 = 47
The number in the middle of the second triangle is found with the folowing calculation: : 17 * 22 - -15 = 389
Therefore the question mark should be replaced with the number: 17