6 acts as the base. 15 acts as the height, because it extends from the base to meet vertex opposite the base at a 90° angle.
General formula for triangle area
a = 1/2 × b × h
plug in the numbers
a = 1/2 × 6 × 15
a = 90/2
a = 45
The area of the triangle is 45 units²