In the following figure, O is a point in the interior of a triangle ABC, OD ⊥ BC, OE ⊥ AC and OF ⊥ AB. Show that
(i) OA2 + OB2 + OC2 − OD2 − OE2 − OF2 = AF2 + BD2 + CE2
(ii) AF2 + BD2 + CE2 = AE2 + CD2 + BF2