It can be a decimal or fraction. An integer HAS to be a whole number.
-2, 10, and 4300 are integers
8.4, -0.14568, and 1/2 are not integers
The answer is called a linear equation :))
Y - 6 = 5(x - 2) is the required equation.
Show the triangle in the picture