Help with IK setup

Wire the pink circle to the red pole rotation, then link to points attached to the pole and horizontal member.