The form of the equation of the direct proportional is

k is the constant of variation
We can find it from the initial values of x and y
Since at x = -2 y = 10, then
Substitute x by -2 and y by 10 to find k

Divide both sides by -2 to find k

The value of k is -5
Then the equation is
