Correct option is B
Given:
In triangle ΔDEF, DE = 36 cm, DF = 40 cm, EF = 38 cm.
The angle bisector of ∠D intersects side EF at point N.
Theorem Used:

The Angle Bisector Theorem states that the angle bisector of ∠D divides the opposite side EF into two segments, EN and NF, such that:
Solution:
According to the Angle Bisector Theorem:
Substitute the given values:
Simplify the ratio:
Let NF = x. Therefore, EN =
Now, since EF = EN + NF = 38 cm:
The length of NF is 20 cm.