In the given figure, two circles touch each other externally at point P. AB is the direct common tangent of these circles. Prove that :
(i) tangent at point P bisects AB,
(ii) angle APB= 90∘.