Let
x = first integer
y = second integer
z = third integer
First equation: x + y + z = 194
Second equation: x + y = z + 80
Third equation: z = x - 45
Let's find the values of x, y and z.
Substitute 3rd eq to 1st eq:
x + y + x - 45 = 194
2x + y = 45 + 194
y = -2x + 239
Plug in both we have solved for y and the 3rd eq to the 2nd eq to find x
x + (-2x + 239) = (x - 45) + 80
x - 2x - x = -45 + 80 - 239
-2x = -204
x = -204/-2
x = 102
Solving for y,
y = -2(102) + 239
y = 35
Solving for z,
z = 102 - 45
z = 57
Answer:
y - 1 = -(x - 2)
Step-by-step explanation:
y - y1 = m(x - x1)
m = (5-1)/(-2-2) = 4/-4 = -1
Using any one coordinate, construct
y - y1 = m(x - x1)
y - 1 = -1(x - 2)
Step-by-step explanation:

This is how I would solve it, I would act as if there were 36 people in the class.
36÷6=6×5=30
30÷3=10×2=20
20/36=10/18=5/9
You could also try another number such as 24;
24×(5÷6)=20
20×(2/3)=13.3(3 repeating)
13.333/24=5/9
5/9 people have dogs.
Tell me if this helps.