  ## When Helping Means Winning contest

Ask a school-related question in the Help Zone and you could win one of three \$500 scholarships.

# Help Zone

### Student Question

Hi!

I am not able to find the equation of the line which goes through the following points: (-4.7) and (22.4)

Can you help me?

Mathematics ## Explanations (1)

• Explanation from Alloprof  Explanation from Alloprof

This Explanation was submitted by a member of the Alloprof team.

Hello!

First of all, as we know that it is a straight line, we know the equation will take the form y = ax + b.

To find a, the slope of the line, there is a formula:

$$a = \frac {y_2 − y_1}{x_2 − x_1}$$

By entering the values, you will have:

$$a = \frac {4 − 7}{22 - - 4} = \frac {-3} {26}$$

By replacing the a by its value in the formula you get this:

$$y = − \frac{3}{26}x + b$$

Then you replace x and y by one of the two points that you have and as there is only the b left as a variable you will be able to find its value by isolating it !

Feel free to ask us more questions if you have any!