To find the point P, we have to use the following formulas
[tex]\begin{gathered} x=\frac{a}{a+b}(x_2-x_1)+x_1 \\ y=\frac{a}{a+b}(y_2-y_1)+y_1 \end{gathered}[/tex]Where a = 1, b = 7, x1 = -4, x2 = 12, y1 = 7, and y2 = -1. Let's use these values to find each coordinate.
[tex]\begin{gathered} x=\frac{1}{1+7}(12-(-4))+(-4)=\frac{1}{8}(16)-4=2-4=-2 \\ y=\frac{1}{1+7}(-1-7)+7=\frac{1}{8}(-8)+7=-1+7=6 \end{gathered}[/tex]