Constructing a quadrilateral when two adjacent sides and three angles are given