The area of this rectangle is base × height. So you've shown the area of the triangle is half this rectangle = ½ base × height.