What is the x-coordinate of the point that divides the directed line segment from J to K into a ratio of 2:5?

The given end points of the line of the given graph are J(-6,-2) and K( 8,-9).
We need to find the coordinate of x that divide the line segment from J to K in 2:5 ratio.
We are given formula also.
[tex]x=\left(\frac{m}{m+n}\right)\left(x_2-x_1\right)+x_1[/tex]
We have m = 2, n= 5, x1 = -6 and x2 = 8.
Plugging those values of m, n, x1 and x2 in above formula, we get
[tex]x=\left(\frac{2}{2+5}\right)\left(8-\left(-6\right)\right)+\left(-6\right)[/tex]
[tex]=\frac{2}{7}\left(8+6\right)-6[/tex]
[tex]=\frac{2\cdot \:14}{7}-6[/tex]
[tex]=4-6[/tex]
[tex]x=-2[/tex]