We start with the first line, written as 2x=2y=1z.
When three fractions are equal to the same parameter (let us call it t), we can write
x=2t,y=2t,z=1⋅t.
Hence the direction ratios (d.r.’s) of the first line are plainly (2,2,1).
Now look at the second line: −25−x=P7y−14=4z−3.
Put all three fractions equal to the same parameter, say λ:
−25−x=λ,P7y−14=λ,4z−3=λ.
From the first fraction we get
5−x=−2λ⟹x=5+2λ.
From the second fraction,
7y−14=Pλ⟹y=7Pλ+14=2+7Pλ.
From the third fraction,
z−3=4λ⟹z=3+4λ.
The coefficients of λ in these expressions give the direction ratios of the second line, namely
(2,7P,4).
To find the angle θ between two lines with direction ratios (a1,b1,c1) and (a2,b2,c2), we use the cosine formula
cosθ=a12+b12+c12a22+b22+c22a1a2+b1b2+c1c2.
For our lines we have
(a1,b1,c1)(a2,b2,c2)=(2,2,1),=(2,7P,4).
First compute the dot product (numerator):
a1a2+b1b2+c1c2=2⋅2+2⋅7P+1⋅4=4+72P+4=8+72P.
Next, the magnitude of the first direction vector:
22+22+12=4+4+1=9=3.
The magnitude of the second direction vector:
22+(7P)2+42=4+49P2+16=20+49P2=49980+P2=7980+P2.
Therefore
cosθ=3(7980+P2)8+72P=38+72P⋅980+P27=3980+P256+2P.
According to the question, the angle between the two lines satisfies cosθ=32. Hence we must have
3980+P256+2P=32.
Multiplying both sides by 3 gives
980+P256+2P=2.
Dividing by 2 yields
2980+P256+2P=1⟹56+2P=2980+P2.
Now divide by 2 on both sides:
28+P=980+P2.
We square both sides to remove the square root:
(28+P)2=980+P2.
Expanding the left-hand side using (a+b)2=a2+2ab+b2 gives
P2+56P+784=980+P2.
The P2 terms cancel immediately, so
56P+784=980.
Subtract 784 from both sides:
56P=196.
Finally divide by 56:
P=56196=3.5=27.
Among the given choices, 27 corresponds to option B.
Hence, the correct answer is Option B.