solution general triangle area | ScratchStats