Look at the image below.
7
5
4
What is the area of the triangle?

Step-by-step explanation:
the area of a triangle is always
baseline × height / 2
where baseline and height are perpendicular (with a 90° angle) to each other.
it does not matter, if the height is inside or outside of the triangle.
so, in our case the area is
4×5/2 = 2×5 = 10 units²