AB is a line 24 centimeters long. A point P is to be marked on it such that AP : PB is 3 : 5. How far away from A should P be marked?