Point $P$ lies inside triangle of sides of length $3, 4, 5$. Show that if distances between $P$ and vertices of triangle are rational numbers then distances from $P$ to sides of triangle are rational numbers too.
Problem
Source: 67 Polish MO 2016 Second Round - Problem 1
Tags: geometry, rational number, Poland, algebra