In an acute-angled triangle ABC on the sides AB, BC, AC, the points C1, A1, and B1 are marked such that the segments AA1, BB1, CC1 intersect at some point O and the angles AA1C, BB1A, CC1B are equal. Prove that AA1, BB1, and CC1 are the altitudes of the triangle. geometryaltitudesorthocenter