base = 4
height = 5
area of triangle = (1/2)*base*height = (1/2)*4*5 = 10
The dot can be dragged to the left so that the dashed height line is inside the triangle. No matter where you drag the green dot, the height stays the same and so does the area.
Drag the dot to help you remember the formula.