Where G and I are the centers of 2 circles, K and H are the intersections of those cirlces, J and L are each on a circle, and line JL passes through K.

GHI

0

0

360

calculated angle JHL

Drag point L and adjust the value of angle GHI and see what happens.