how to calculate a triangle | ScratchStats