A quadrilateral can be inscribed in a circle if and only if its opposite angles are supplementary.
So, in the image above,
and
.