The area of a rectangle in 24 square units. A diagonal drawn from one corner to another divides the rectangle into two right triangles.

What is the area of the shaded triangle?