The pair of points lies on the same line with the given slope. Find x.

​(5​,9​), ​(x, 15​); slope = 2

Find X.

X = [ ] ​(Type an integer or a simplified​ fraction.)

Using the formula for slope, we have:

slope = (y2 - y1) / (x2 - x1)
2 = (15 - 9) / (x - 5)

Multiplying both sides by (x - 5), we have:

2(x - 5) = 15 - 9
2x - 10 = 6
2x = 16
x = 16/2
x = 8

Therefore, x = 8.