Any plane can be written in the form →r⋅→n=d
where →n is normal vector and →r is any general point on plane and d is a constant.
Hence, normal vector of x−z=0 is ^i−^k.
∴−−→PM=^i+3^j+5^k+λ(^i−^k)=(1+λ)^i+3^j+(5−λ)^k
Now, as M lies on x−z=0,
(1+λ)−(5−λ)=0⟹λ=2
⟹M=(3,3,3)
Also, −−→QN=−2^i+^j+4^k+α(^i−^k)=(α−2)^i+^j+(4−α)^k
Now, as N lies on x−z=0,
(α−2)−(4−α)=0⟹α=3
⟹N=(1,1,1)
⟹−−−→MN=^i+^j+^k+β(2^i+2^j+2^k)
Let direction vector of −−−→MN be →b.
∴→b=2^i+2^j+2^k
Now, normal of plane x+y+z=5 is →a=^i+^j+^k
Hence, angle between normal of plane x+y+z=5 and −−−→MN=cos−1∣∣
∣∣→a⋅→b|→a||→b|∣∣
∣∣
=cos−1∣∣∣2+2+2√3×2√3∣∣∣
=cos−1∣∣∣66∣∣∣
=cos−11
=0∘
Hence, as the angle between normal vector and −−−→MN is 0∘, the angle between the plane x+y+z=5 and −−−→MN is 90∘.