calculate - triangle v1.1 (function in instruction) | ScratchStats