A flagstaff stands vertically on a pillar,the height of the flagstaff being double the height of the pillar. A man on the ground at a distance finds that both the pillar and the flagstaff subtend equal angles at his eyes. The ratio of the height of the pillar and the distance of the man from pillar, is