To calculate the area of a rectangle you multiply the length by the width. A right-angled triangle is like half a rectangle.