Point A has coordinates (1, 2). Point B has coordinates (9, 6). Find the coordinates of point P that partitions AB in the ratio 3:1

The z-coordinate of point P is
The y-coordinate of point Pis