What number should replace the question mark? Consider four triangles, each with different numbers in its corners. Apply your math skills to solve this puzzle!

topriddle