Let $A_1A_2 \ldots A_n$ be a convex polygon. Point $P$ inside this polygon is chosen so that its projections $P_1, \ldots , P_n$ onto lines $A_1A_2, \ldots , A_nA_1$ respectively lie on the sides of the polygon. Prove that for points $X_1, \ldots , X_n$ on sides $A_1A_2, \ldots , A_nA_1$ respectively, \[\max \left\{ \frac{X_1X_2}{P_1P_2}, \ldots, \frac{X_nX_1}{P_nP_1} \right\} \geq 1.\]if a) $X_1, \ldots , X_n$ are the midpoints of the corressponding sides, b) $X_1, \ldots , X_n$ are the feet of the corressponding altitudes, c) $X_1, \ldots , X_n$ are arbitrary points on the corressponding lines. Modified version of IMO 2010 SL G3 (it was question c)