this is my answer:
First, let's label all the things we know on the trapezoid. Label AB as 2x and CD as 2y.
Now, draw the center of the circle and label it as O. Draw the diameter of the circle that is perpendicular to AB and CD. Then draw a line from O to B and C Next draw a line from O to BC that is perpendicular and tangent to BC and make the point E.
The diameter of the circle intercepts with AB and cuts it in half. Let's call the point F. Because it cuts AB in half, FB is (2x)/2=x.
The diameter of the circle also intercepts with CD and cuts it in half. Let's call the point G. Because it cuts CD in half, GC is (2y)/2=y.
Using the property of a circle we know that FB and EB are the same length, making them both x. The same thing goes with FB and EB which are y.
Now draw a line from B to CD that is perpendicular to CD and label the point H.
BH is 2r because it is the same length as the diameter of the circle. BC is x+y, and HC is y-x.
Using the pythagorean theorem, we can say that (2r)^2+(y-x)^2=(x+y)^2.
Now, let's solve the equation.