Example :
x y
1 3
2 6
3 9
4 12
first thing u do is pick any 2 points (x,y) from ur table
(1,3) and (2,6)
now we sub those into the slope formula (y2 - y1) / (x2 - x1) to find the slope
(y2 - y1) / (x2 - x1)
(1,3)....x1 = 1 and y1 = 3
(2,6)...x2 = 2 and y2 = 6
sub
slope = (6 - 3) / (2 - 1) = 3/1 = 3
now we use slope intercept formula y = mx + b
y = mx + b
slope(m) = 3
use any point off ur table...(1,3)...x = 1 and y = 3
now we sub and find b, the y int
3 = 3(1) + b
3 = 3 + b
3 - 3 = b
0 = b
so ur equation is : y = 3x + 0....which can be written as y = 3x...and if u sub any of ur points into this equation, they should make the equation true....if they dont, then it is not correct
and if u need it in standard form..
y = 3x
-3x + y = 0
3x - y = 0 ...this is standard form
y-intercept for x = 0.
Substitute x = 0 to the equation of the function:

1. Use the Pythagoras theorem
13^2 = x^2 + 5^2
solve for x and youll get the height of the roof.
2. let x = length of the rpoe)-
x^2 = 9^2 + 12^2
3. Pythagoras again
20^2 = x^2 + 12^2
X=106 with working shown in the photo
The most likely number of cats = 21/37 x 8 = 4.54 ≈ 5 cats
The most likely number of dogs = 16/37 x 8 = 3.46 ≈ 3 dogs
The probability of that arrangement happening = 1/8^2 = 1/64 = 0.00156