calculating the area of triangle | ScratchStats