Use the slope formula which is;
slope= (y2 - y1)/ (x2 - x1)
slope= (9-1)/ (8-4)
Slope= (8)/(4)
Slope= 2
First notice that the triangle with sides

and the triangle with sides

are similar. This is true because the angle between sides

in the smaller triangle is clearly

, while the angle between sides

in the larger triangle is clearly

. So the triangles are similar with sides

corresponding to

, respectively.
Now both triangles are

, which means there's a convenient ratio between its sides. If the length of the shortest leg is

, then the length of the longer leg is

and the hypotenuse has length

.
Since

is the shortest leg in the larger triangle, it follows that

, so
Answer:
long pieces 126 Short pieces 21
Step-by-step explanation:
18+18+18+18+18+18+18=126
3+3+3+3+3+3+3=21
hope this helped <3
I think u should check the first one again u made a mistake but the second one is correct if u need any more help ask me