In an isosceles trapezoid $ABCD$ with bases $AD$ and $BC$, diagonals intersect at point $P$, and lines $AB$ and $CD$ intersect at point $Q$. $O_1$ and $O_2$ are the centers of the circles circumscribed around the triangles $ABP$ and $CDP$, $r$ is the radius of these circles. Construct the trapezoid ABCD given the segments $O_1O_2$, $PQ$ and radius $r$.
Problem
Source: 2017 XX All-Ukrainian Tournament of Young Mathematicians named after M. Y. Yadrenko, Qualifying p1
Tags: geometry, trapezoid, isosceles, construction, Ukrainian TYM