To determine ∠P, we must apply principles of angle bisectors and the interrelationships of triangle angles.
Given: The internal bisector of ∠Q and the external bisector of ∠R intersect at point M, forming ∠QMR = 40°.
The angle formed by an internal and an external angle bisector is half the difference between the internal and external angles:
\[ \angle QMR = \frac{1}{2}(\angle Q - \angle R) \]
From this, we derive the difference between ∠Q and ∠R:
\[ \angle Q - \angle R = 2 \times 40^\circ = 80^\circ \]
The sum of internal angles in triangle PQR is 180°. We also know the relationship between an internal and its corresponding external angle:
\( \angle R_{\text{internal}} + \angle R_{\text{external}} = 180^\circ \)
This implies that \( \angle Q + \angle R = 180^\circ \) is incorrect; it should be \( \angle P + \angle Q + \angle R_{\text{internal}} = 180^\circ \).
We have a system of equations:
Let's re-evaluate the relationship. The angle formed by the internal bisector of ∠Q and the external bisector of ∠R is given by:
\[ \angle QMR = \frac{1}{2}|\angle Q - \angle R_{\text{external}}| \]
Given \( \angle QMR = 40^\circ \), we have:
\[ 40^\circ = \frac{1}{2}|\angle Q - \angle R_{\text{external}}| \]
\[ |\angle Q - \angle R_{\text{external}}| = 80^\circ \]
In triangle PQR, \( \angle P + \angle Q + \angle R_{\text{internal}} = 180^\circ \). Also, \( \angle R_{\text{external}} = 180^\circ - \angle R_{\text{internal}} \).
Substituting \( \angle R_{\text{external}} \) in the difference equation:
\[ \angle Q - (180^\circ - \angle R_{\text{internal}}) = \pm 80^\circ \]
\[ \angle Q + \angle R_{\text{internal}} - 180^\circ = \pm 80^\circ \]
Case 1: \( \angle Q + \angle R_{\text{internal}} - 180^\circ = 80^\circ \implies \angle Q + \angle R_{\text{internal}} = 260^\circ \). This is impossible in a triangle.
Case 2: \( \angle Q + \angle R_{\text{internal}} - 180^\circ = -80^\circ \implies \angle Q + \angle R_{\text{internal}} = 100^\circ \).
Now we have:
Substitute the second equation into the first:
\( \angle P + 100^\circ = 180^\circ \)
\( \angle P = 180^\circ - 100^\circ \)
\( \angle P = 80^\circ \)
Therefore, ∠P is 80°.