Answer:
Since x and y are directly related, the equation for their comparison will look like
kx = y
where k is your constant. They give you an instance in the problem where x = 27 and y = 81. Plug this into the above equation and solve for k.
kx = y
k (27) = 81
k = 3
So, the constant of variation is 3.