Answer explained
Find the value of p so that the straight lines (x-1)/-1=(y+3)/p=(z-7)/2 and (x+1)/p=y/2=(z+6)/-3 are perpendicular to each other.
Given
Direction ratios (-1,p,2) and (p,2,-3).
Method
For perpendicular lines, the dot product must be zero.
Step 1
(-1)(p)+p(2)+2(-3)=0 ⇒ -p+2p-6=0 ⇒ p-6=0.
Answer
p=6.