To construct, in a given rectilineal angle, a parallelogram equal to a given triangle.

Let ABC be the given triangle, and D the given rectilineal angle; thus it is required to construct in the rectilineal angle D a parallelogram equal to the triangle ABC.