Can someone please explain this? Brainliest to the correct answer

Hey there!!
This question is based on "direct variation".
Direct variation says :-
... y = kx ( Where k is the constant ).
Given :-
... y = 5 and x = -45
Now, we will have to find the constant
... 5 = -45k
... -5 / 45 = k
... 1 / 9 = k
Now, find the value y and x value given is -24.
... y = -24k
... y = -24 * 1/9
... y = -8 * 1/3
... y = -8/3
Hope my answer helps!!