How do you find the sonstant variable for Direct variation or k? And how would you solve? It if it was to find what x or y is

Since y = kx,

y/x = k

That is, pick any two known values of x and y. Their ratio is the constant k.