This document defines an interface called Interfacefigura that contains an area function. It then defines two classes, Rectangulo and Triangulo, that both implement the Interfacefigura interface and calculate area differently - Rectangulo multiplies base by height while Triangulo multiplies base by height and divides by 2. The document also contains a click event handler that creates instances of the two classes, calculates their areas, and displays the results.