Answer:
(B)15,36,39
Explanation:
To determine which of the line segments could create a Right Triangle, we check if it satisfies the Pythagoras Theorem, taking the longest part to be the Hypotenuse in all cases.
By Pythagoras Theorem:

In 15,30,35

In 15,36,39

In 15, 20, 29

In 5,15,30

We can see that only 15,36,39 satisfies the required condition and thus it could be used to create a right triangle.