Where R is the median between Q and L:
From my understanding of a triangle's centroid, it divides an angle bisector into parts of 2/3 and 1/3. In the given problem, these divisions are NS and SR. Therefore, twice SR would be equal to NS. From here, we can get the value of X, to solve for SR.
NS = 2SR
(x + 10) = 2(x + 3)
x + 10 = 2x + 6
x = 4
Therefore, SR = (x + 3) = 7
This has a slope of 3, you can plot it on a graph and count rise over run.
First notice that the triangle with sides

and the triangle with sides

are similar. This is true because the angle between sides

in the smaller triangle is clearly

, while the angle between sides

in the larger triangle is clearly

. So the triangles are similar with sides

corresponding to

, respectively.
Now both triangles are

, which means there's a convenient ratio between its sides. If the length of the shortest leg is

, then the length of the longer leg is

and the hypotenuse has length

.
Since

is the shortest leg in the larger triangle, it follows that

, so