triangle inequality theorem | ScratchStats