Let be an acute-angled triangle with and height intersection . Let be the base of the altitude from to . Let be the reflection of at . The lines and intersect at the point . Let be the midpoint of and let be the midpoint of . Prove that is perpendicular to .