Find th equation of the line that goes through (3,8) and (5,-8)

I got
X = 3
But it doesn't seem right

of course it isn't right

x = 3 would be a vertical line.
A quick sketch will show you that your 2 points do not lie along a vertical line

slope = m = (-8-8)/(5-3) = -16/2 = -8

equation:
y-8 = -8(x-3)

re-arrange to whatever form you learned.

I don't get how to rearrange that

To find the equation of a line passing through two points, we can use the slope-intercept form of a linear equation, which is y = mx + b, where m represents the slope and b represents the y-intercept.

First, let's find the slope (m) using the formula:

m = (y2 - y1) / (x2 - x1)

Given the two points (3, 8) and (5, -8), we have:

m = (-8 - 8) / (5 - 3)
m = -16 / 2
m = -8

Now that we have the slope, we can choose one of the given points and substitute the values into the slope-intercept form to find the y-intercept (b).

Using the point (3, 8):

8 = (-8)(3) + b
8 = -24 + b
b = 8 + 24
b = 32

Now we have the slope (m = -8) and the y-intercept (b = 32). Thus, the equation of the line passing through the points (3, 8) and (5, -8) is:

y = -8x + 32

Therefore, your answer should be y = -8x + 32, not X = 3.