The points A(2,3) and B(8,15) are the endpoints of a line segment. A third point P(6,11) lies somewhere on AB.
(i) Find the ratio in which P divides the segment AB, expressing your answer in the simplest integer form.
(ii) Calculate the lengths AP and PB, and hence verify that the numerical ratio of these lengths is the same as the ratio obtained in part (i).