Let #A(x_a,y_a)# and #B(x_b,y_b)# be two points in the plane and let #P(x,y)# be the point that divides #bar(AB)# in the ratio #k :1#, where #k>0#. Show that #x= (x_a+kx_b)/ (1+k)# and #y= (y_a+ky_b)/( 1+k)#?

enter image source here