All you need to do is locate the point (3,1) on the graph and figure out which two lines are intersecting it. In this case it is A and D so that is your solution.
For three line segments to be able to form any triangle you must be able to take any two sides, add their length and this sum be greater than the remaining side.