We now construct the free-body diagram for the triangular stress element. Each stress is multiplied by its corresponding area.

Here is Canvas object wihch demonstrate the problem.