In a school, the swimming pool is shaped as a cuboid, and the breadth of the pool is represented by line \(\frac{-x+2}{-5} = y = z-3\). Two students A and B are swimming along the length of the pool.
Based on the above information, answer the following questions :
(i) If the path of student A is represented by line \(\frac{x+5}{1}=\frac{y+3}{4}=\frac{z-6}{-3p}\), find the value of p.