In triangle XYZ, point P lies on segment XY, such that the ratio of the length of segment XP to segment PY is 2:3. If the length of segment XY is 25 units, what is the length of segment XP?
Statement (1): The length of segment XZ is 15 units.
Statement (2): The length of segment YZ is 20 units.