In a circle with the centre \(A\) the angles \(\angle CBD\) and \(\angle EFG\) are equal. Prove that the segments \(CD\) and \(EG\) are equal.