A circle is inscribed in a 3-4-5 triangle. A segment is drawn from the smaller acute angle to the point of tangency on the opposite. This segment is divided in the ratio p:q by the segment drawn from the larger acute angle to the point of tangency on its opposite side. If p > q, find p:q.